home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / binutils.7 / binutils / binutils-2.7 / ld / ChangeLog < prev    next >
Encoding:
Text File  |  1996-07-15  |  225.0 KB  |  6,176 lines

  1. Mon Jul 15 11:54:08 1996  Ian Lance Taylor  <ian@cygnus.com>
  2.  
  3.     * Released binutils 2.7.
  4.  
  5. Mon Jul 15 11:49:49 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
  6.  
  7.     * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Round
  8.      the value of __start_SECNAME to the alignment required by the
  9.      section to be placed.
  10.  
  11. Wed Jul 10 11:23:54 1996  David Mosberger-Tang  <davidm@azstarnet.com>
  12.  
  13.     * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
  14.      local label prefix to "$" when output architecture is Alpha.
  15.  
  16. Tue Jul  9 12:13:15 1996  Ian Lance Taylor  <ian@cygnus.com>
  17.  
  18.     * emulparams/pc532macha.sh (EMULATION_NAME): Remove.
  19.  
  20.     * configure.tgt (mips*el-*-elf*): Use elf32elmip.
  21.     (mips*-*-elf*): Use elf32ebmip.
  22.     * emulparams/elf32bmip.sh (EMBEDDED): Don't define.
  23.     * emulparams/elf32lmip.sh (EMBEDDED): Don't define.
  24.     * emulparams/elf32elmip.sh: New file; copy of elf32lmip.sh with
  25.     EMBEDDED defined.
  26.     * emulparams/elf32ebmip.sh: New file; copy of elf32bmip.sh with
  27.     EMBEDDED defined.
  28.     * emulparams/elf32b4300.sh (EMBEDDED): Define.
  29.     * emulparams/elf32l4300.sh (EMBEDDED): Define.
  30.     * Makefile.in (ALL_EMULATIONS): Add eelf32ebmip.o eelf32elmip.o.
  31.     (eelf32ebmip.c, eelf32elmip.c): New targets.
  32.  
  33. Thu Jul  4 12:01:03 1996  Ian Lance Taylor  <ian@cygnus.com>
  34.  
  35.     * ldver.c (ldversion): Set version to 2.7.
  36.  
  37.     * emulparams/pc532macha.sh: Rename from pc532machaout.sh to avoid
  38.     System V file name limitations.
  39.     * configure.tgt (nc32k-pc532-mach*, ns32k-pc532-ux*): Use
  40.     pc532macha rather than pc532machaout.
  41.     * Makefile.in (ALL_EMULATIONS): Change epc532machaout.o to
  42.     epc532macha.o.
  43.     (epc532macha.c): Rename target from epc532machaout.c.
  44.  
  45. Wed Jul  3 11:40:10 1996  Ian Lance Taylor  <ian@cygnus.com>
  46.  
  47.     * ldlang.c (print_padding_statement): Use %u, not %x, to print
  48.     fill value.
  49.  
  50. Sun Jun 30 11:16:43 1996  Stan Shebs  <shebs@andros.cygnus.com>
  51.  
  52.     * mpw-eppcmac.c: Update to reflect May 23 change to aix.em.
  53.  
  54. Thu Jun 27 14:03:42 1996  Ian Lance Taylor  <ian@cygnus.com>
  55.  
  56.     * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Put the .sa
  57.     file just before the .so file, rather than just after.
  58.  
  59.     * configure.host: Use -print-file-name=FILE rather than piping
  60.     -print-libgcc-file-name through sed.
  61.     (i[345]86*-*-sco*, i[345]86-*-isc*): Create crtbegin.o and
  62.     crtend.o files, in case gcc doesn't use them.
  63.     * Makefile.in (mostlyclean): Remove crtbegin.o and crtend.o.
  64.  
  65. Wed Jun 26 15:57:21 1996  Ian Lance Taylor  <ian@cygnus.com>
  66.  
  67.     * configure.tgt (mips*-dec-osf*): New target.
  68.  
  69. Tue Jun 25 22:15:29 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
  70.  
  71.     * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
  72.     INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
  73.     (docdir): Removed.
  74.     * configure.in (AC_PREREQ): autoconf 2.5 or higher.
  75.     (AC_PROG_INSTALL): Added.
  76.     * configure: Rebuilt.
  77.  
  78. Mon Jun 24 18:48:16 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
  79.  
  80.     * scripttempl/elfppc.sc (_GLOBAL_OFFSET_TABLE_): Don't do a
  81.     PROVIDE of _GLOBAL_OFFSET_TABLE_, since it needs to be at a
  82.     non-fixed location.
  83.  
  84. Mon Jun 24 17:55:31 1996  Jouke Numan  <jnuman@bazis.nl>
  85.  
  86.     * ldlang.h (enum section_type): Define.
  87.     (lang_output_section_statement_type): Remove loadable field.  Add
  88.     sectype field.
  89.     (lang_enter_output_section_statement): Change flags parameter in
  90.     prototype to sectype.
  91.     * ldgram.y (typebits): Remove.
  92.     (sectype): New static variable.
  93.     (opt_at): Use sectype rather than typebits.
  94.     (type): Set sectype rather than typebits.
  95.     (atype): Likewise.
  96.     * ldlex.l: Recognize DSECT, COPY, INFO, and OVERLAY in
  97.     EXPRESSION mode.
  98.     * ldlang.c (lang_output_section_statement_lookup): Set sectype
  99.     field rather than loadable field.
  100.     (wild_doit): Check sectype rather than loadable.
  101.     (lang_record_phdrs): Likewise.
  102.     (lang_enter_output_section_statement): Rename flags parameter to
  103.     sectype.  Set sectype field rather than loadable field.  Set flags
  104.     field based on sectype.
  105.  
  106. Mon Jun 24 12:00:32 1996  Ian Lance Taylor  <ian@cygnus.com>
  107.  
  108.     * scripttempl/elf.sc: Force .stab* and .comment sections to start
  109.     at 0.
  110.  
  111.     * configure.in: On alpha*-*-osf*, link against libbfd.a if not
  112.     using shared libraries.
  113.     * configure: Rebuild with autoconf 2.10.
  114.  
  115. Fri Jun 21 17:40:56 1996  Joel Sherrill  <joel@merlin.gcs.redstone.army.mil>
  116.  
  117.     * configure.tgt: Add support for *-*-rtems* configurations.
  118.  
  119. Fri Jun 21 13:05:51 1996  Richard Henderson  <rth@tamu.edu>
  120.  
  121.     * configure.tgt (alpha-*-linuxecoff*): New target.
  122.     (alpha-*-linux*): Use elf64alpha.
  123.     * emulparams/elf64alpha.sh: New file.
  124.     * emultempl/elf32.em: If ELFSIZE is not set, set it to 32.  Use
  125.     ${ELFSIZE} rather than 32 when calling BFD routines.
  126.     (hold_rodata): New static variable.
  127.     (gld${EMULATION_NAME}_place_orphan): Use hold_rodata for a
  128.     readonly section that is not code.
  129.     (gld${EMULATION_NAME}_place_section): Set hold_rodata.  Don't use
  130.     a .rel section unless its bfd_section field is not NULL.
  131.     * Makefile.in (ALL_EMULATIONS): Add eelf64alpha.o.
  132.     (eelf64alpha.c): New target.
  133.  
  134. Fri Jun 21 12:45:46 1996  Ian Lance Taylor  <ian@cygnus.com>
  135.  
  136.     * ldmisc.c (vfinfo): Correct handling of 0 in %W case.
  137.  
  138. Thu Jun 20 13:55:28 1996  Ian Lance Taylor  <ian@cygnus.com>
  139.  
  140.     Add enough support to understand the gcc svr3.ifile script:
  141.     * ldlex.l: Recognize BLOCK and GROUP in EXPRESSION context.  Add
  142.     BIND keyword.
  143.     * ldgram.y: Add BIND token.
  144.     (section): Recognize GROUP.
  145.     (opt_ext_with_type): Recognize a couple of cases of BIND.
  146.     * ldlang.c (init_os): Don't do anything if section is already
  147.     initialized.  Call exp_init_os on addr_tree field.
  148.     (exp_init_os): New static function.
  149.     (map_input_to_output_sections): Call exp_init_os on assignment
  150.     expression.
  151.     (lang_place_orphans): Check for common sections by name COMMON
  152.     rather than by common_section field.  Don't warn about absence of
  153.     [COMMON] command.
  154.  
  155.     * ldlang.h (lang_input_statement_type): Remove useless fields
  156.     common_section, common_output_section, and complained, as well as
  157.     all references to them.
  158.  
  159.     * ldexp.c: Reindent a lot of code.
  160.     (exp_fold_tree): Call FAIL rather than einfo in default case.
  161.  
  162. Wed Jun 19 11:40:14 1996  Ian Lance Taylor  <ian@cygnus.com>
  163.  
  164.     * configure.host (m88*-*-dgux*): Quote HOSTING_CRT0.  From
  165.     <randall.hron@medaphis.com>.
  166.  
  167. Tue Jun 18 17:55:39 1996  Ian Lance Taylor  <ian@cygnus.com>
  168.  
  169.     * configure.tgt (i[345]86*-*-isc*): New target.  From
  170.     <uddeborg@carmen.se>.
  171.  
  172. Wed Jun 12 12:46:21 1996  Ian Lance Taylor  <ian@cygnus.com>
  173.  
  174.     * lexsup.c: Include "libiberty.h".
  175.      (parse_args): Copy the -Y argument into memory.
  176.      (set_default_dirlist): Don't put the ':' back into the directory
  177.     list.
  178.  
  179. Fri Jun  7 11:27:42 1996  Ian Lance Taylor  <ian@cygnus.com>
  180.  
  181.     * emultempl/sunos.em: Include libiberty.h.
  182.     (gld${EMULATION_NAME}_set_symbols): New static function to add
  183.     LD_LIBRARY_PATH to the list of search directories.
  184.     (ld_${EMULATION_NAME}_emulation): Add new set_symbols routine.
  185.  
  186. Thu Jun  6 11:50:31 1996  Ian Lance Taylor  <ian@cygnus.com>
  187.  
  188.     * emulparams/elf32bmip.sh (OTHER_GOT_SYMBOLS): Use ALIGN(16)
  189.     rather than . when computing _gp value.  From Per Fogelstrom.
  190.     * emulparams/elf32lmip.sh (OTHER_GOT_SYMBOLS): Likewise.
  191.  
  192.     * ldmain.c (main): Don't close and unlink the file on error, since
  193.     remove_output will do it anyhow.
  194.     * ldlang.c (open_output): Set boolean variable to true, not 1.
  195.  
  196. Wed Jun  5 18:34:14 1996  James G. Smith  <jsmith@cygnus.co.uk>
  197.  
  198.     * emulparams/{elf32b4300.sh,elf32l4300.sh} (SCRIPT_NAME): Use
  199.     elfmips instead of elf.
  200.  
  201. Tue Jun  4 18:43:07 1996  Ian Lance Taylor  <ian@cygnus.com>
  202.  
  203.     * ldcref.c: New file.
  204.     * ld.h (add_cref, output_cref): Declare.
  205.     * ldmain.c (main): Initialize notice_all field.  If it is set at
  206.     end of link, call output_cref.
  207.     (notice): Rename from notice_ysym.  Check notice_all.
  208.     * ldmisc.c (finfo): Make globally visible.
  209.     * ldmisc.h (finfo): Declare.
  210.     * lexsup.c (OPTION_CREF): Define.
  211.     (ld_options): Add "cref".
  212.     (parse_args): Handle OPTION_CREF.
  213.     * Makefile.in: Rebuild dependencies.
  214.     (CFILES): Add ldcref.c.
  215.     (OFILES): Add ldcref.o.
  216.     * ld.texinfo, ld.1: Document --cref.
  217.  
  218. Tue Jun  4 12:12:25 1996  Tom Tromey  <tromey@csk3.cygnus.com>
  219.  
  220.     * Makefile.in (install): Make $(tooldir) and $(tooldir)/bin.
  221.  
  222. Fri May 31 12:40:55 1996  Ian Lance Taylor  <ian@cygnus.com>
  223.  
  224.     * emultempl/pe.em (sort_sections): Don't assume that a
  225.     wild_statement has a section name.
  226.  
  227. Wed May 29 13:13:35 1996  Ian Lance Taylor  <ian@cygnus.com>
  228.  
  229.     * scripttempl/elfmips.sc: Quote test -z argument.
  230.  
  231.     * ld.texinfo: Clarify the CONSTRUCTORS command.
  232.  
  233. Thu May 23 16:07:44 1996  Ian Lance Taylor  <ian@cygnus.com>
  234.  
  235.     * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Initialize
  236.     file, not impfile.
  237.  
  238. Wed May 22 11:31:30 1996  Doug Evans  <dje@seba.cygnus.com>
  239.  
  240.     * ldlang.c (wild_doit): Don't copy over SEC_LINK_{ONCE,DUPLICATES}
  241.     if final link.
  242.     * emultempl/pe.em (sfunc): Renamed to sort_by_file_name.
  243.     (sort_by_section_name, sort_sections_1): New functions.
  244.     (sort_sections): Only sort by file name sections in .idata.
  245.     Add "Grouped Sections" support.
  246.     (gld${EMULATION_NAME}_place_orphan): Rewrite to support Grouped
  247.     Sections.
  248.     (gld${EMULATION_NAME}_place_section): Delete.
  249.     * scripttempl/pe.sc (.text,.data,.rdata): Add *(.foo\$).
  250.     (.CRT,.rsrc): Rewrite to use Grouped Section support.
  251.  
  252. Tue May 21 14:31:48 1996  Stan Shebs  <shebs@andros.cygnus.com>
  253.  
  254.     * mpw-eppcmac.c: Update to reflect changes to aix.em.
  255.  
  256. Sun May 19 16:59:44 1996  Doug Evans  <dje@seba.cygnus.com>
  257.  
  258.     * ldlang.c (dprint_statement): Stop printing at end of list.
  259.  
  260. Sat May 18 13:12:05 1996  Steve Chamberlain  <sac@slash.cygnus.com>
  261.  
  262.     Support for --force-exe-suffix
  263.     * ld.h (args_type): Add force_exe_suffix.
  264.     * ld.texinfo: Add documentation.
  265.     * ldmain.c (main):  Add support for option.
  266.     * lexsup.c (OPTION_FORCE_EXE_SUFFIX): New.
  267.     (ld_options, parse_args):  Add support for option.
  268.  
  269. Wed May 15 12:50:25 1996  Jim Wilson  <wilson@chestnut.cygnus.com>
  270.  
  271.     * emultempl/pe.em (set_pe_value): Pass 0 not 16 to strtoul call.
  272.  
  273. Fri May 10 16:28:44 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
  274.  
  275.     * scripttempl/elfppc.sc (__stack): Make __stack 0 if it was
  276.     referenced but not defined.
  277.  
  278. Thu May  9 08:52:23 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
  279.  
  280.     * emulparams/{elf32bmip.sh,elf32lmip.sh,mipsidt.sh,mipsidtl.sh}:
  281.     Set a new variable to signify if the final target is an embedded
  282.     system. 
  283.     * scripttempl/{mips.sc,elfmips.sc}: Don't add SIZEOF_HEADERS to
  284.     .text for an embedded system.
  285.  
  286. Tue May  7 10:56:11 1996  Doug Evans  <dje@canuck.cygnus.com>
  287.  
  288.     * scripttempl/pe.em (gld${EMULATION_NAME}_place_orphan): New function.
  289.     (gld${EMULATION_NAME}_place_section): New function.
  290.     (hold_{section,use,text,rdata,data}): New static locals.
  291.     (ld_${EMULATION_NAME}_emulation): Update orphan field.
  292.     * scripttempl/pe.sc: Whitespace cleanup.  Semicolon usage cleanup.
  293.     (INIT,FINI): Delete, unused.
  294.     (.text): Document orphan .text.foo sections.
  295.     (.rdata): Document orphan .rdata.foo sections.
  296.     (.data): Document orphan .data.foo sections.
  297.  
  298. Tue May  7 11:35:46 1996  Jeffrey A Law  (law@cygnus.com)
  299.  
  300.     * scripttempl/h8300.sc: Place ".tiny" sections right
  301.     after ".data" sections.
  302.     * scripttempl/h8300h.sc: Place ".tiny" sections into
  303.     the "tiny" memory region, 0xff8000 through 0xffff00.
  304.  
  305.     * scripttempl/h8300.sc: Set the entry point to the value of
  306.     "_start" rather than the start of the text segment.
  307.     * scripttempl/h8300h.sc: Likewise.
  308.  
  309.     * scripttempl/h8300.sc: Place .rodata sections before .text
  310.     sections in main ram.
  311.     * scripttempl/h8300h.sc: Likewise.
  312.  
  313. Mon May  6 23:32:30 1996  Jeffrey A Law  (law@cygnus.com)
  314.  
  315.     * scripttempl/h8300h.sc: Use "eight", not "eightbit" for the
  316.     8-bit region and 8-bit sections.
  317.  
  318. Wed May  1 17:50:06 1996  Doug Evans  <dje@canuck.cygnus.com>
  319.  
  320.     * ldlang.c (section_already_linked): Fix typos.
  321.  
  322. Mon Apr 29 20:31:06 1996  Doug Evans  <dje@canuck.cygnus.com>
  323.  
  324.     * scripttempl/pe.sc (.endjunk): Define __end__.
  325.  
  326. Mon Apr 29 17:05:13 1996  Ian Lance Taylor  <ian@cygnus.com>
  327.  
  328.     * ldlang.c (longest_section_name): Remove.
  329.     (SECTION_NAME_MAP_LENGTH): Define.
  330.     (print_size, print_alignment, print_fill, print_section): Remove.
  331.     (print_flags): Remove.
  332.     (lang_map): Rewrite.
  333.     (print_output_section_statement): Rewrite.
  334.     (print_assignment): Rewrite.
  335.     (print_one_symbol): Rewrite.
  336.     (print_input_section): Rewrite.
  337.     (print_fill_statement): Rewrite.
  338.     (print_data_statement): Rewrite.
  339.     (print_address_statement): New static function.
  340.     (print_reloc_statement): Rewrite.
  341.     (print_padding_statement): Rewrite.
  342.     (print_wild_statement): Rewrite.
  343.     (print_statement_list): Clean up.
  344.     (print_statement): Clean up.  Some minor output changes.
  345.     (print_statements): Clean up.
  346.     (load_symbols): Put another - before -whole-archive.
  347.     * ldexp.c (exp_print_tree): Change etree_value and etree_rel to
  348.     print 0x and to omit leading zeroes.  For etree_rel, use %B to
  349.     print the BFD.  For etree_assign, remove the space after the
  350.     destination name.
  351.     * ldwrite.c: Include "libiberty.h".
  352.     (clone_section): Call xstrdup, not strdup.
  353.     (ldwrite): Don't print any map information.
  354.     (print_symbol_table, print_file_stuff, print_symbol): Remove.
  355.     * ldmain.c (main): Call lang_map when appropriate.
  356.     * ldmisc.c (vfinfo): Add support for %W.
  357.     (print_address): Remove.
  358.     * ldmisc.h (print_address): Don't declare.
  359.     * Makefile.in: Rebuild dependencies.
  360.  
  361. Mon Apr 29 10:29:07 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
  362.  
  363.     * configure.host (m68*-*-linux*): Add -dynamic-linker to
  364.      HOSTING_CRT0.  Search -lgcc both before and after -lc in
  365.      HOSTING_LIBS.  Look for crt{begin,end}.o in the compiler directory
  366.      at first.
  367.     (i[345]86-*-linux*): Look for crt{begin,end}.o in the compiler
  368.     directory at first.
  369.  
  370. Fri Apr 26 14:42:27 1996  Ian Lance Taylor  <ian@cygnus.com>
  371.  
  372.     * ldmisc.h (demangle): Declare.
  373.     * ldmisc.c: Include "libiberty.h".  Include demangle.h with "",
  374.      not <>.
  375.     (demangle): Make non-static.  Remove remove_underscore paramter.
  376.     Always return an allocated string.
  377.     (vfinfo): Free result of demangle.  Add case 'G'.  Use %T to print
  378.     functionname, rather than calling demangle.  Print a colon between
  379.     the BFD(section+offset) and the line number.
  380.     * ldmain.c (add_archive_element): Improve format of archive
  381.     information in map file.
  382.     (constructor_callback): Don't print anything to the map file.
  383.     * ldlang.c (lang_one_common): Improve format of common symbol
  384.     information in map file.
  385.     * ldctor.c (ldctor_build_sets): If producing a map file, print set
  386.     information.
  387.     * ldwrite.c (print_symbol_table): Print a newline before the
  388.     header in the map file.
  389.     * Makefile.in: Rebuild dependencies.
  390.  
  391.     * ldmisc.c (vfinfo): Reindent.
  392.  
  393. Mon Apr 22 12:07:32 1996  Ian Lance Taylor  <ian@cygnus.com>
  394.  
  395.     * ldlang.c (lang_size_sections): If _cooked_size is not 0, then
  396.     don't clobber it when not relaxing.
  397.  
  398.     * ld.h (ld_config_type): Remove traditional_format field.
  399.     * ldmain.c (main): Use link_info.traditional_format rather than
  400.     config.traditional_format.
  401.     * ldlang.c (ldlang_open_output): Likewise.
  402.     * lexsup.c (parse_args): Likewise.
  403.     * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Likewise.
  404.     * mpw-eppcmac.c (gldppcmacos_parse_args): Likewise.
  405.  
  406.     * ldlang.c (wild_doit): Discard debugging sections if we are
  407.     stripping debugging information.
  408.  
  409.     * emulparams/z8002.sh (ARCH): Set to z8002, not z8k.
  410.  
  411. Tue Apr 16 16:38:32 1996  Ian Lance Taylor  <ian@cygnus.com>
  412.  
  413.     * ldexp.c (fold_binary): Correct handling of subtraction with
  414.     absolute values.
  415.     (fold_name): Permit symbols in lang_allocating_phase_enum.
  416.  
  417.     * scripttempl/aout.sc: Only PROVIDE __stack when RELOCATING.  Undo
  418.     accidental changes in last patch.
  419.  
  420. Tue Apr 16 10:25:42 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
  421.  
  422.     * configure.tgt (powerpc*-*-{sysv,linux}): Add aliases.
  423.     (powerpcle*-*-{sysv,solaris}): Ditto.
  424.  
  425. Mon Apr 15 14:50:56 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
  426.  
  427.     * scripttempl/aout.sc: Add PROVIDE (__stack = 0) so I can use it
  428.     in m68k/crt0.S without things blowing up.
  429.  
  430. Fri Apr 12 16:40:56 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
  431.  
  432.     * scripttempl/m68kcoff.sc: Remove default address for .data so
  433.     .text, .data, and .bss are all sequential.
  434.  
  435. Thu Apr 11 12:05:35 1996  Ian Lance Taylor  <ian@cygnus.com>
  436.  
  437.     * scripttempl/m68kcoff.sc: Remove regions and simplify.
  438.  
  439. Wed Apr 10 14:41:53 1996  Jeffrey A Law  (law@cygnus.com)
  440.  
  441.     * scripttempl/h8300.sc: Add the "8-bit area" in the upper 256
  442.     bytes of the address space.  Put data from the ".eight" sections
  443.     into the 8-bit area.
  444.     * scripttempl/h8300h.sc: Likewise.
  445.  
  446. Tue Apr  9 14:10:42 1996  Doug Evans  <dje@canuck.cygnus.com>
  447.  
  448.     * emultempl/generic.em (gld${EMULATION_NAME}_before_parse):
  449.     Pass $ARCH to ldfile_set_output_arch instead of setting
  450.     ldfile_output_architecture directly.
  451.  
  452. Tue Apr  9 14:22:15 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
  453.  
  454.     * scripttempl/elfppc.sc (.init,.fini): Put .init, .fini section
  455.     next to .text.  Put _etext after .text, .init, .fini, and
  456.     .rodata{,2} sections.
  457.  
  458. Tue Apr  9 12:18:57 1996  Ian Lance Taylor  <ian@cygnus.com>
  459.  
  460.     * ld.texinfo: Rearrange option documentation.
  461.  
  462.     * lexsup.c (ld_options): New static array.
  463.     (parse_args): Build shortopts and longopts from ld_options array.
  464.     (help): New static function.
  465.     * ldver.h (help): Don't declare.
  466.     * ldver.c (ldversion): Reindent.
  467.     (help): Remove.
  468.  
  469.     * ld.texinfo, ld.1: Mention -E as a synonym for -export-dynamic.
  470.  
  471. Mon Apr  8 11:56:23 1996  Ian Lance Taylor  <ian@cygnus.com>
  472.  
  473.     * emultempl/elf32.em: When checking for a native emulation, check
  474.     that the current emulation is the default emulation.
  475.     * emultempl/sunos.em: Likewise.
  476.  
  477.     * configure.in: Permit --enable-shared to specify a list of
  478.     directories.
  479.     * configure: Rebuild.
  480.  
  481.     * lexsup.c (parse_args): Add -E as a synonym for -export-dynamic,
  482.     for HP/UX compatibility.
  483.  
  484. Fri Apr  5 14:30:14 1996  Ian Lance Taylor  <ian@cygnus.com>
  485.  
  486.     * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): New
  487.     static function, if ${host} = ${target}.
  488.     (gld${EMULATION_NAME}_after_open): Call check_ld_so_conf to find a
  489.     needed shared library if ${host} = $[target}.
  490.  
  491.     * configure.host (i[345]86-*-linux*): Add -dynamic-linker to
  492.     HOSTING_CRT0.  Search -lgcc both before and after -lc in
  493.     HOSTING_LIBS.
  494.  
  495.     * configure.tgt: Add i[345]86-*-freebsdelf* target; from John
  496.     Polstra <jdp@polstra.com>.
  497.  
  498. Fri Apr  5 18:11:25 1996  James G. Smith  <jsmith@cygnus.co.uk>
  499.  
  500.     * emulparams/elf32{b,l}4300.sh (MACHINE): Add explicit
  501.      architecture number.
  502.     * scripttempl/elf.sc: Use $MACHINE definition if present.
  503.     * configure.tgt (targ_extra_emuls): Force 4100 build to use same
  504.      template as 4300.
  505.  
  506. Mon Apr  1 17:35:40 1996  Ian Lance Taylor  <ian@cygnus.com>
  507.  
  508.     * ldlang.c (lang_size_sections): Change region check to handle
  509.     regions which end at the highest possible address correctly.
  510.     From Roland Weber <roweber@ira.uka.de>.
  511.  
  512.     * ldlang.c (section_already_linked): New static function.
  513.     (wild_doit): Discard sections with SEC_EXCLUDE set if not doing a
  514.     relocateable link.  Don't worry about section being NULL, since it
  515.     never should be.  Don't call init_os unless the section is going
  516.     to be added.
  517.     (ldlang_add_file): Call section_already_linked for each section.
  518.     * ldmain.c (multiple_definition): Don't warn about multiple
  519.     definitions in sections which are being discarded.
  520.  
  521. Sun Mar 31 00:30:47 1996  steve chamberlain  <sac@slash.cygnus.com>
  522.  
  523.     * scripttempl/{ppcpe.sc, pe.sc} (.junk): Remove and use /DISCARD/.
  524.     * emultempl/pe.em (init): Remove special case PPC code.
  525.  
  526. Fri Mar 29 00:01:29 1996  Jeffrey A Law  (law@cygnus.com)
  527.  
  528.     * scripttempl/h8300.sc: Make vectors section 0xc4 bytes long
  529.     so as not to overwrite the magic syscall entry at 0xc4.
  530.     * scripttempl/h8300h.sc: Likewise.
  531.  
  532. Thu Mar 28 11:05:47 1996  Doug Evans  <dje@canuck.cygnus.com>
  533.  
  534.     * configure.tgt (sparc64-*-solaris2*): Delete.
  535.     Stick with sparc-*-solaris2*.
  536.  
  537. Wed Mar 27 12:33:24 1996  Ian Lance Taylor  <ian@cygnus.com>
  538.  
  539.     * ld.h (DISCARD_SECTION_NAME): Define to "/DISCARD/".
  540.     * ldlang.c (init_os): Fail on an attempt to initialize any section
  541.     named DISCARD_SECTION_NAME.
  542.     (wild_doit): Discard input sections assigned to an output section
  543.     named DISCARD_SECTION_NAME.
  544.     * ld.texinfo: Document use of /DISCARD/.
  545.  
  546.     * ldlang.c: Fix some indentation and comments.
  547.  
  548. Tue Mar 26 18:14:49 1996  Ian Lance Taylor  <ian@cygnus.com>
  549.  
  550.     * ldmain.c (main): Call bfd_set_error_program_name.
  551.  
  552. Thu Mar 21 13:17:34 1996  Ian Lance Taylor  <ian@cygnus.com>
  553.  
  554.     * ld.texinfo: Fix a couple of indexing entries.  Mention that
  555.     --verbose displays builtin linker scripts.
  556.  
  557.     * ldmisc.c (vfinfo): case 'I': If the file is not in an archive,
  558.     and the local symbol name does not match the filename, print the
  559.     filename as well.
  560.  
  561.     Patches from John Polstra <jdp@polstra.com> for FreeBSD ELF:
  562.     * lexsup.c (parse_args): -Bshareable is a synonym for -shared.
  563.     * emulparams/elf_i386.sh (NONPAGED_TEXT_START_ADDR): Make the same
  564.     as TEXT_START_ADDR.
  565.  
  566. Wed Mar 20 18:18:25 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
  567.  
  568.     * ld.texinfo: Fix typos.  Use @pxref only inside parentheses.
  569.  
  570. Wed Mar 20 16:56:15 1996  Ian Lance Taylor  <ian@cygnus.com>
  571.  
  572.     * ldmain.c (add_wrap): New function.
  573.     * ldmain.h (add_wrap): Declare.
  574.     * lexsup.c (parse_args): Call add_wrap.
  575.  
  576. Tue Mar 19 16:44:20 1996  Doug Evans  <dje@canuck.cygnus.com>
  577.  
  578.     * configure.host (sparc*-*-solaris2* host): Accept any sparc variant.
  579.  
  580. Wed Mar 13 17:47:31 1996  Jeffrey A Law  (law@cygnus.com)
  581.  
  582.     * scripttempl/h8300.sc: Change name of page zero memory
  583.     from "null" to "vectors".  Create an output section for
  584.     vectors.  Add comments on how to explicitly place items
  585.     in the vector table.
  586.     * scripttempl/h8300h.sc: Likewise.
  587.  
  588. Wed Mar 13 12:40:18 1996  Ian Lance Taylor  <ian@cygnus.com>
  589.  
  590.     * emultempl/lnk960.em (machine_table): Add jx and hx.
  591.  
  592.     * genscripts.sh: Don't use ${9:-xx}, since Ultrix /bin/sh doesn't
  593.     support it.
  594.  
  595. Tue Mar 12 12:43:59 1996  David Mosberger-Tang  <davidm@koala.azstarnet.com>
  596.  
  597.     * ld.h (ld_config_type): Add warn_multiple_gp field.
  598.     * lexsup.c (parse_args): Handle --warn-multiple-gp.
  599.     * ldmain.c (warning_callback): Suppress multiple gp values warning
  600.     if --warn_multiple_gp was not used.
  601.     * ld.texinfo, ld.1: Document --warn-multiple-gp.
  602.  
  603. Tue Mar 12 12:02:21 1996  Ian Lance Taylor  <ian@cygnus.com>
  604.  
  605.     * lexsup.c (parse_args): Handle --wrap.
  606.     * ldmain.c (main): Initialize link_info.wrap_hash.
  607.     * ldexp.c (fold_name): Use bfd_wrapped_link_hash_lookup in DEFINED
  608.     and NAME cases.
  609.     * ld.texinfo, ld.1: Document --wrap.
  610.  
  611.     * configure: Rebuild with autoconf 2.8.
  612.  
  613.     Don't do SunOS style dynamic linking for sparc-aout:
  614.     * configure.tgt (sparc64-*-aout*): Use sparcaout, not sun4.
  615.     (sparclite*-fujitsu-*, sparc*-*-aout): Likewise.
  616.     (sparc*-wrs-vxworks*): Likewise.
  617.     * emulparams/sparcaout.sh: New file.
  618.     * Makefile.in (ALL_EMULATIONS): Add esparcaout.o.
  619.     (esparcaout.c): New target.
  620.  
  621. Wed Mar  6 16:06:52 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
  622.  
  623.     * scripttempl/elfppc.sc (.sdata2, .sbss2): Implement Feb 2 change
  624.      in a different manner to work around differences in shell variable
  625.      expansion.
  626.  
  627. Wed Mar  6 18:08:18 1996  Ian Lance Taylor  <ian@cygnus.com>
  628.  
  629.     * ldemul.h (ldemul_unrecognized_file): Declare.
  630.     (ldemulation_xfer_type): Add unrecognized_file field.
  631.     * ldemul.c (ldemul_unrecognized_file): New function.
  632.     * ldlang.c (load_symbols): If a file can not be recognized, call
  633.     ldemul_unrecognized_file before trying it as a linker script.
  634.     * aix.em (gld${EMULATION_NAME}_unrecognized_file): New static
  635.     function.
  636.     (gld${EMULATION_NAME}_read_file): Use FOPEN_RT, not "r".
  637.     (ld_${EMULATION_NAME}_emulation): Initialize unrecognized_file.
  638.  
  639. Mon Mar  4 14:11:17 1996  Ian Lance Taylor  <ian@cygnus.com>
  640.  
  641.     * ldlang.c (wild): Handle foo.a(.text) by mapping each included
  642.     member of foo.a separately.  From Jouke Numan <jnuman@bazis.nl>.
  643.  
  644. Fri Mar  1 10:24:59 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
  645.  
  646.     * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment):
  647.     Search trinary.cond rather than searching trinary.lhs twice.
  648.  
  649. Tue Feb 27 15:08:43 1996  Stan Shebs  <shebs@andros.cygnus.com>
  650.  
  651.     * mpw-make.sed: Edit out shared library support.
  652.     (@TDIRS@): Edit out, can't use genscripts.
  653.  
  654. Tue Feb 27 15:09:21 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
  655.  
  656.     * configure.tgt (m68k-*-linuxaout*, m68k-*-linux*): New targets.
  657.     * emulparams/m68klinux.sh: New file.
  658.     * emultempl/linux.em (gld${EMULATION_NAME}_before_allocation):
  659.     Call bfd_${EMULATION_NAME}_size_dynamic_sections instead of
  660.     bfd_linux_size_dynamic_sections.
  661.     * Makefile.in (ALL_EMULATIONS): Add em68klinux.o.
  662.     (em68klinux.c): New target.
  663.     * configure.host (m68*-*-linuxaout*, m68*-*-linux*): New hosts.
  664.  
  665. Tue Feb 27 12:55:46 1996  Ian Lance Taylor  <ian@cygnus.com>
  666.  
  667.     * Makefile.in (ALL_EMULATIONS): Sort into alphabetical order.
  668.     Fill in missing entries.
  669.  
  670.     * lexsup.c (parse_args): Recognize --no-whole-archive.
  671.     * ldlang.h (lang_input_statement_type): Add whole_archive field.
  672.     * ldlang.c (new_afile): Set whole_archive field.
  673.     (load_symbols): Check input file specific whole_archive field
  674.     rather than global variable.
  675.     * ld.texinfo, ld.1: Document --no-whole-archive.
  676.  
  677. Tue Feb 20 16:07:00 1996  Ian Lance Taylor  <ian@cygnus.com>
  678.  
  679.     * configure.tgt: Correct gldi960 to gld960.
  680.  
  681. Mon Feb 19 11:16:44 1996  Ian Lance Taylor  <ian@cygnus.com>
  682.  
  683.     * emultempl/elf32.em (gld${EMULATION_NAME}_check_needed): Check
  684.     the SONAME if it is available.
  685.     (gld${EMULATION_NAME}_stat_needed): Use the SONAME, not the
  686.     filename, when checking for conflicting library versions.  Don't
  687.     assume that the suffix is only numbers and dots.
  688.  
  689.     * ld.texinfo: Mention that -R can be used for -rpath.
  690.  
  691. Sun Feb 18 15:05:17 1996  Ian Lance Taylor  <ian@cygnus.com>
  692.  
  693.     * configure.host: Check for 'do not mix' from native linker before
  694.     trying to use -rpath.
  695.  
  696. Thu Feb 15 13:58:06 1996  Ian Lance Taylor  <ian@cygnus.com>
  697.  
  698.     * configure.in: Remove explicit substitution of CFLAGS; autoconf
  699.     does it anyhow.
  700.     * configure: Rebuild.
  701.     * Makefile.in (LDFLAGS): Set to @LDFLAGS@.
  702.  
  703.     * configure.in: Call AC_PROG_CC before configure.host.
  704.     * configure: Rebuild.
  705.     * configure.host: Remove go32 host, since it should no longer be
  706.     necessary.  Don't set CC for romp host.
  707.  
  708.     * scripttempl/elf.sc: Don't skip a page in virtual memory space if
  709.     the text segment ends exactly on a page boundary.
  710.  
  711.     * configure.in: Substitute RPATH_ENVVAR.
  712.     * configure: Rebuild.
  713.     * configure.host: Set RPATH_ENVVAR.
  714.     * Makefile.in (RPATH_ENVVAR): New variable.
  715.     (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
  716.  
  717. Wed Feb 14 18:49:01 1996  Alan Modra  <alan@spri.levels.unisa.edu.au>
  718.  
  719.     * configure.in: Redo emulation handling so that each emulation
  720.     searches the correct tool directory, based on the target alias.
  721.     For example, "configure --enable-targets=m68k-coff i386-linux"
  722.     will search /usr/local/i386-linux/lib for linux and
  723.     /usr/local/m68k-coff/lib for m68k-coff.
  724.     * configure: Rebuild.
  725.     * configure.tgt: Add special tdir settings for Linux.
  726.     * Makefile.in: Add @TDIRS@.  Pass "$(tdir_EMUL)" to ${GENSCRIPTS}
  727.     for each eEMUL.c target.
  728.     * genscripts.sh: Accept specific alias as 9th argument, and use it
  729.     in LIB_PATH.
  730.  
  731. Wed Feb 14 16:38:36 1996  Martin Anantharaman  <martin@mail.imech.uni-duisburg.de>
  732.  
  733.     * ldlang.c (lang_set_startof): Don't do anything for a
  734.     relocateable link.
  735.  
  736.     * ldgram.y (mri_script_file): Call mri_draw_tree.
  737.     * mri.c (mri_draw_tree): Make globally visible.  Don't bother to
  738.     create memory regions.
  739.     (mri_load): Don't call mri_draw_tree.
  740.     * mri.h (mri_draw_tree): Declare.
  741.  
  742.     * configure.tgt (m68*-*-psos): New target.
  743.     * emulparams/m68kpsos.sh: New file.
  744.     * scripttempl/psos.sc: New file.
  745.     * Makefile.in (ALL_EMULATIONS): Add em68kpsos.o.
  746.     (em68kpsos.c): New target.
  747.  
  748. Wed Feb 14 11:09:25 1996  Ian Lance Taylor  <ian@cygnus.com>
  749.  
  750.     * configure.tgt (*-*-ieee*): New target; use vanilla.
  751.  
  752.     * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Strip
  753.     `:foo' from ${ARCH}.
  754.  
  755. Tue Feb 13 15:58:58 1996  Bryan Ford  <baford@snake.cs.utah.edu>
  756.  
  757.     * scripttempl/i386msdos.sc: Don't pad the .text section.  Put
  758.     .rodata in .data.
  759.  
  760. Tue Feb 13 14:04:19 1996  Ian Lance Taylor  <ian@cygnus.com>
  761.  
  762.     * configure.host: Set HDLFLAGS for *-*-hpux with --enable-shared.
  763.  
  764.     * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Warn if
  765.     it looks like we might be linking in two different versions of the
  766.     same shared library.  Based on a patch from H J Lu <hjl@zoom.com>.
  767.  
  768. Thu Feb  8 19:25:54 1996  Ian Lance Taylor  <ian@cygnus.com>
  769.  
  770.     * ldlang.c (lang_size_sections): Increment the section size when a
  771.     padding statement is encountered.
  772.  
  773. Wed Feb  7 14:01:33 1996  Ian Lance Taylor  <ian@cygnus.com>
  774.  
  775.     * configure.in: Look for --enable-shared.  Change the value of
  776.     BFDLIB when linking against a shared library on SunOS.
  777.     * configure: Rebuild.
  778.     * configure.host: If using a shared BFD library, try to pass a
  779.     reasonable -rpath option when linking.
  780.     * Makefile.in (BFDLIB): Set to @BFDLIB@.
  781.  
  782. Tue Feb  6 12:29:14 1996  Doug Evans  <dje@charmed.cygnus.com>
  783.  
  784.     * emulparams/elf64_sparc.sh (ARCH): Change to `sparc:v9'.
  785.     * emultempl/generic.em: Strip `:foo' from ${ARCH}.
  786.  
  787. Mon Feb  5 16:25:30 1996  Ian Lance Taylor  <ian@cygnus.com>
  788.  
  789.     Support for building bfd and opcodes as shared libraries, based on
  790.     patches from Alan Modra <alan@spri.levels.unisa.edu.au>:
  791.     * configure.in (HLDFLAGS): New substitution.
  792.     * configure: Rebuild.
  793.     * configure.host: Set HLDFLAGS on SunOS.
  794.     * Makefile.in (HLDFLAGS): New variable.
  795.     (BFDDEP): New variable.
  796.     (BFDLIB): Change to -L../bfd -lbfd.
  797.     ($(LD_PROG)): Depend upon $(BFDDEP) rathern than $(BFDLIB).  Use
  798.     $(HLDFLAGS) in link.
  799.     (check): Set LD_LIBRARY_PATH in the environment.
  800.  
  801. Fri Feb  2 19:26:25 1996  Michael Meissner  <meissner@wogglebug.tiac.net>
  802.  
  803.     * scripttempl/elfppc.sc (.sdata2, .sbss2): Put .sdata2 and .sbss
  804.     in the read-only section, not read/write unless we are making a
  805.     shared library.
  806.     (.debug*): Add dwarf debug sections.
  807.     (.rela.{sdata*,sbss*}): Add sections.
  808.  
  809. Fri Feb  2 16:50:21 1996  Ian Lance Taylor  <ian@cygnus.com>
  810.  
  811.     * configure: Regenerate.
  812.  
  813. Thu Feb  1 10:50:46 1996  Ian Lance Taylor  <ian@cygnus.com>
  814.  
  815.     * emulparams/elf_i386.sh (TEXT_START_ADDR): Change to 0x8048000,
  816.     for SVR4 compatibility.
  817.  
  818.     * ldexp.c (exp_fold_tree): Correct handling of ABSOLUTE.
  819.  
  820. Wed Jan 31 17:30:19 1996  Steve Chamberlain  <sac@slash.cygnus.com>
  821.  
  822.     * configure.tgt (i[345]86-*-cygwin32, powerpcle-*-cygwin32): New.
  823.     * emultempl/pe.em (definfo init): Make the default stack reserve
  824.     of a PPC larger.
  825.     
  826. Wed Jan 31 14:34:23 1996  Richard Henderson  <rth@tamu.edu>
  827.  
  828.     * configure.tgt (m68*-apple-aux*): New target.
  829.     * emulparams/m68kaux.sh: New file.
  830.     * scripttempl/m68kaux.sc: New file.
  831.     * Makefile.in (ALL_EMULATIONS): Add em68kaux.o.
  832.     (em68kaux.c): New target.
  833.  
  834. Tue Jan 30 13:18:56 1996  Ian Lance Taylor  <ian@cygnus.com>
  835.  
  836.     * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Ignore
  837.     -bnoentry, since the right thing tends to happen anyhow.
  838.  
  839. Mon Jan 29 12:29:26 1996  Ian Lance Taylor  <ian@cygnus.com>
  840.  
  841.     * ld.texinfo, ld.1: Document -export-dynamic.
  842.  
  843. Fri Jan 26 11:11:55 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
  844.  
  845.     * emultempl/sunos.em: Check for native compile by comparing
  846.     ${target} and ${host}.
  847.  
  848. Thu Jan 25 16:46:58 1996  James G. Smith  <jsmith@cygnus.co.uk>
  849.  
  850.     * emulparams/{elf32b4300.sh, elf32l4300.sh}: Changed
  851.      TEXT_START_ADDR to allow use on IDT and PMON systems.
  852.  
  853. Wed Jan 24 20:59:40 1996  Steve Chamberlain  <sac@slash.cygnus.com>
  854.  
  855.     * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args):
  856.     correct spelling.
  857.  
  858. Wed Jan 24 16:59:19 1996  Doug Evans  <dje@charmed.cygnus.com>
  859.  
  860.     * configure.tgt (sparc64-*-solaris2*): New configuration.
  861.     (sparc64-*-aout*): Renamed from sparc64*.
  862.  
  863. Mon Jan 22 13:01:35 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
  864.  
  865.     * Makefile.in (GENSCRIPTS): Pass @host@ @target@ @target_alias@.
  866.     * genscripts.sh: Set host, target and target_alias variables.
  867.     Check for native compile by comparing ${target} and ${host}.
  868.     * emultempl/elf32.em: Likewise.
  869.     * scripttempl/elfmips.sc: Test ${target}, not ${target_alias}.
  870.  
  871. Mon Jan 22 11:03:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
  872.  
  873.     * scripttempl/elfppc.sc: Refine eabi support to better support
  874.     .sdata, .sdata2, .sbss, etc. sections.
  875.  
  876. Tue Jan 16 15:16:58 1996  Ian Lance Taylor  <ian@cygnus.com>
  877.  
  878.     * ldgram.y (%union): Add phdr field.
  879.     (phdr): Use phdr_qualifiers rather than opt_hdrs and opt_at.
  880.     (phdr_qualifiers): New nonterminal.  Add support for FLAGS.
  881.     (opt_hdrs, hdr): Remove.
  882.     (phdr_val): New nonterminal.
  883.     * ldlang.c (lang_new_phdr): Replace hdrs parameter with filehdr
  884.     and phdrs parameters.  Add flags parameter.
  885.     (lang_record_phdrs): Update for changes to lang_phdr.  Pass flags
  886.     to bfd_record_phdr.
  887.     * ldlang.h (struct lang_phdr): Replace hdrs field with filehdr and
  888.     phdrs fields.  Add flags field.
  889.     (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Remove.
  890.     (lang_new_phdr): Update declaration.
  891.     * ld.texinfo: Document FLAGS.
  892.  
  893. Mon Jan 15 15:07:19 1996  Ian Lance Taylor  <ian@cygnus.com>
  894.  
  895.     * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation):
  896.     Don't make a shared library because of an undefined reference to
  897.     __GLOBAL_OFFSET_TABLE_.
  898.  
  899.     Add some Irix 5 support, mostly from Kazumoto Kojima
  900.         <kkojima@info.kanagawa-u.ac.jp>:
  901.     * emulparams/elf32bmip.sh (SCRIPT_NAME): Change to elfmips.
  902.     (SHLIB_TEXT_START_ADDR): Define.
  903.     (OTHER_GOT_SYMBOLS): Define.
  904.     (OTHER_READWRITE_SECTIONS): Remove initialization of _gp.
  905.     (EXECUTABLE_SYMBOLS): Don't define.
  906.     (DYNAMIC_LINK): Don't define.
  907.     * emulparams/elf32lmip.sh: Same changes as elf32bmip.sh.
  908.     * scripttempl/elfmips.sc: New file.
  909.     * configure.host (mips*-dec-bsd*): Change mips to mips*.
  910.     (mips*-sgi-irix4*): Likewise.
  911.     (mips*-sgi-irix5*): New entry.
  912.     * Makefile.in (eelf32bmip.c): Depend upon elfmips.sc rather than
  913.     elf.sc.
  914.     (eelf32lmip.c): Likewise.
  915.  
  916. Sat Jan 13 09:41:43 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
  917.  
  918.     * scripttempl/elfppc.sc: Remove support for .rel.* sections.  Add
  919.     .rela.got.neg section.
  920.  
  921. Fri Jan 12 14:56:19 1996  Ian Lance Taylor  <ian@cygnus.com>
  922.  
  923.     * scripttempl/sh.sc: Only build constructors when CONSTRUCTING.
  924.  
  925.     * ldmisc.c: Include <stdarg.h> rather than <varargs.h> if
  926.     ANSI_PROTOTYPES is defined.  Remove special handling of
  927.     WINDOWS_NT.  Various indendation fixes.
  928.     (vfinfo): Change fmt parameter to const char *.
  929.     (info_msg): Write <stdarg.h> version.
  930.     (einfo, minfo, finfo): Likewise.
  931.     (info_assert): Change file parameter to const char *.
  932.     * ldmisc.h (einfo, minfo, info_msg): If ANSI_PROTOTYPES is
  933.     defined, use a real prototype.
  934.     (info_assert): Change first parameter to be const char *.
  935.  
  936. Fri Jan 12 13:29:55 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
  937.  
  938.     * scripttempl/elfppc.sc: Add support for .sdata2/.sbss2, etc.  Add
  939.     in old support that 2.7.2 needs, but the current compiler does
  940.     not.
  941.  
  942.     * Makefile.in (eelf32{,l}ppc.c): Fix up dependencies to use the
  943.     correct Linker script template.
  944.  
  945.     * emulparams/elf32{,l}ppc.sh (TEXT_START_ADDR): Set to 0x40000,
  946.     not 0x400000.
  947.     (DATA_ADDR,NONPAGED_TEXT_START_ADDR): Delete.
  948.  
  949. Tue Jan  9 15:53:02 1996  Ian Lance Taylor  <ian@cygnus.com>
  950.  
  951.     * scripttempl/alpha.sc: Put .rconst right after .rdata.
  952.  
  953. Fri Jan  5 14:07:45 1996  Steve Chamberlain  <sac@slash.cygnus.com>
  954.  
  955.     * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation):
  956.     sort using right pointer.
  957.  
  958. Fri Jan  5 12:25:47 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
  959.  
  960.     * scripttempl/elfppc.sc: Remove support for creating special
  961.     labels for eabi section begin/end here.  The compiler now uses
  962.     crt{i,n}.o to create these symbols.
  963.  
  964. Thu Jan  4 17:08:58 1996  Ian Lance Taylor  <ian@cygnus.com>
  965.  
  966.     * configure.host: Change existing Linux HOSTING_CRT0 to be used
  967.     for a.out only, and put in appropriate HOSTING_CRT0 and
  968.     HOSTING_LIBS values for Linux ELF.
  969.  
  970. Thu Jan  4 12:02:05 1996  Doug Evans  <dje@canuck.cygnus.com>
  971.  
  972.     * scripttempl/h8300.sc: Use all 64K for ram.
  973.     * scripttempl/h8300h.sc: Define 256K ram size.
  974.  
  975. Thu Dec 21 15:57:18 1995  Ian Lance Taylor  <ian@cygnus.com>
  976.  
  977.     * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Pass
  978.     export_defines as true to bfd_xcoff_size_dynamic_sections if -unix
  979.     was used, regardless of whether -bE was used.
  980.  
  981. Tue Dec 19 17:35:38 1995  Ian Lance Taylor  <ian@cygnus.com>
  982.  
  983.     * emultempl/aix.em (gld${EMULATION_NAME}_after_open): Only set
  984.     relocateable before calling ldctor_build_sets if the output file
  985.     is in an XCOFF format.
  986.  
  987. Fri Dec 15 16:34:36 1995  Ian Lance Taylor  <ian@cygnus.com>
  988.  
  989.     * ldwrite.c (build_link_order): When handling a data statement, if
  990.     the endianness of the output file is unknown, use the endianness
  991.     of the input file.
  992.  
  993. Tue Dec 12 13:55:41 1995  Stan Shebs  <shebs@andros.cygnus.com>
  994.  
  995.     * mpw-config.in: Recognize mips-*-* as equivalent to
  996.     mips-idt-ecoff.
  997.     * mpw-eppcmacos.c: Rename to shorter mpw-eppcmac.c.
  998.     * mpw-ld.r: Add version resources.
  999.     (cfrg): Use symbolic instead of literal name for executable.
  1000.  
  1001. Mon Dec 11 15:13:41 1995  Kim Knuttila  <krk@cygnus.com>
  1002.  
  1003.     * scripttempl/ppcpe.sc (FINI): Moved the .reloc section.
  1004.  
  1005. Wed Dec  6 14:33:50 1995  Doug Evans  <dje@canuck.cygnus.com>
  1006.  
  1007.     * ldlang.c (print_statement{,s}): Delete duplicate prototype.
  1008.     (print_statement_list): Renamed from print_statement.  All callers
  1009.     updated.
  1010.     (print_statement): New function to print just one statement.
  1011.     (print_{data,reloc,padding}_statement): Don't crash if
  1012.     output_section == NULL.
  1013.     (dprint_statement): New function.
  1014.  
  1015.     * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Fix
  1016.     call to sort_sections.
  1017.  
  1018. Wed Dec  6 14:59:06 1995  Ian Lance Taylor  <ian@cygnus.com>
  1019.  
  1020.     * emultempl/aix.em (unix_ld): New static variable.
  1021.     (gld${EMULATION_NAME}_parse_args): Handle -unix.
  1022.     (gld${EMULATION_NAME}_before_allocation): If unix_ld, pass
  1023.     gc as false and export_defineds as true to size_dynamic_sections.
  1024.  
  1025.     * ldexp.c (exp_fold_tree): Permit assignments to dot in the final
  1026.     phase if the current section is abs_output_section.
  1027.  
  1028.  
  1029. Tue Dec  5 09:49:39 1995  Doug Evans  <dje@canuck.cygnus.com>
  1030.  
  1031.     * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Fix call
  1032.     to sort_sections.
  1033.  
  1034. Fri Dec  1 16:48:36 1995  Ian Lance Taylor  <ian@cygnus.com>
  1035.  
  1036.     * ldgram.y (PHDRS): New token.
  1037.     (ifile_p1): Accept phdrs.
  1038.     (section): Accept phdr_opt at the end of the section definition.
  1039.     (phdr_op): New nonterminal.
  1040.     (phdrs, phdr_list, phdr, phdr_type, opt_hdrs, hdr): Likewise.
  1041.     * ldlex.l: Accept PHDRS.
  1042.     * ldlang.h (struct lang_output_section_phdr_list): Define.
  1043.     (lang_output_section_statement_type): Add phdrs field.
  1044.     (struct lang_phdr): Define.
  1045.     (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Define.
  1046.     (lang_new_phdr): Declare.
  1047.     * ldlang.c (lang_phdr_list): New static variable.
  1048.     (lang_output_section_statement_lookup): Initialize phdrs field.
  1049.     (lang_process): Call lang_record_phdrs.
  1050.     (lang_new_phdr): New function.
  1051.     (lang_section_in_phdr): New function.
  1052.     (lang_record_phdrs): New static function.
  1053.     * ld.texinfo: Document PHDRS.
  1054.  
  1055. Thu Nov 30 13:14:30 1995  Kim Knuttila  <krk@cygnus.com>
  1056.  
  1057.     * scripttempl/ppcpe.sc: Moved .edata into its own section to
  1058.     expose it.
  1059.  
  1060. Thu Nov 30 11:32:34 1995  Manfred Hollstein KS/EF4A 60/1F/110 #40283  <manfred@lts.sel.alcatel.de>
  1061.  
  1062.     * configure.host (m68*-motorola-sysv): Define HOSTING_CRT0 and
  1063.     HOSTING_LIBS for testing.
  1064.     (m88*-motorola-sysv3): Define HOSTING_CRT0 and HOSTING_LIBS for
  1065.     testing.
  1066.  
  1067. Tue Nov 28 12:14:53 1995  Ian Lance Taylor  <ian@cygnus.com>
  1068.  
  1069.     * lexsup.c (parse_args): Set config.dynamic_link to false for -N
  1070.     and -n.
  1071.  
  1072. Mon Nov 27 13:12:09 1995  Ian Lance Taylor  <ian@cygnus.com>
  1073.  
  1074.     * configure: Rebuild with autoconf 2.7.
  1075.  
  1076. Fri Nov 24 18:35:35 1995  Doug Evans  <dje@canuck.cygnus.com>
  1077.  
  1078.     * scripttempl/pe.sc: Two .junk's is too much junk.
  1079.  
  1080. Tue Nov 21 16:14:32 1995  Ian Lance Taylor  <ian@cygnus.com>
  1081.  
  1082.     * configure.in: Use BFD_NEED_DECLARATION.
  1083.     * acconfig.h: Put NEED_DECLARATION_FREE in @TOP@ section.
  1084.     * configure, config.in: Rebuild with autoconf 2.6.
  1085.  
  1086.     * ldmain.c (constructor_callback): Don't warn about BFD_RELOC_CTOR
  1087.     being unsupported if this is not a relocateable link and the input
  1088.     BFD supports it, since ldctor_build_sets can cope with that case.
  1089.  
  1090. Fri Nov 17 16:23:15 1995  Stan Shebs  <shebs@andros.cygnus.com>
  1091.  
  1092.     * configure.tgt (powerpc-*-macos*): New target.
  1093.     * emulparams/ppcmacos.sh: New file, PowerMac emulation.
  1094.     * Makefile.in (ALL_EMULATIONS): Add eppcmacos.o.
  1095.     (eppcmacos.c): New target.
  1096.     * mpw-eppcmacos.c: Update.
  1097.     * mpw-make.sed: Edit out attempts to use {GENSCRIPTS}.
  1098.  
  1099. Fri Nov 17 10:37:27 1995  Ian Lance Taylor  <ian@cygnus.com>
  1100.  
  1101.     * Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, not
  1102.     $(host_canonical) and $(target_canonical).
  1103.     (CXX_FOR_TARGET): Likewise.
  1104.  
  1105. Thu Nov 16 11:23:42 1995  Doug Evans  <dje@canuck.cygnus.com>
  1106.  
  1107.     * scripttempl/pe.sc (.endjunk): Move definition of `end' to here
  1108.     so the malloc heap begins at a sane place.
  1109.  
  1110. Thu Nov 16 03:09:32 1995  Ken Raeburn  <raeburn@cygnus.com>
  1111.  
  1112.     Version 2.6 released.
  1113.     * ldver.c (ldversion): Update to 2.6.
  1114.  
  1115.     * Makefile.in (mostlyclean): Delete ldemul-list.h here, but not
  1116.     $(GENERATED_*FILES), since they need to be retained by distclean.
  1117.     (maintainer-clean, realclean): Delete them here.
  1118.  
  1119. Tue Nov 14 17:08:06 1995  Ian Lance Taylor  <ian@cygnus.com>
  1120.  
  1121.     * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Open the
  1122.     base file with FOPEN_WB, not "w".
  1123.  
  1124.     * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Use the
  1125.     environment variable LD_RUN_PATH if neither -rpath nor -rpath-link
  1126.     were used.
  1127.     (gld${EMULATION_NAME}_before_allocation): Use the environment
  1128.     variable LD_RUN_PATH if -rpath was not used.
  1129.     * ld.texinfo, ld.1: Document LD_RUN_PATH.
  1130.  
  1131. Thu Nov  9 13:09:29 1995  Ian Lance Taylor  <ian@cygnus.com>
  1132.  
  1133.     * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Recognize
  1134.     -bl and -bloadmap options.
  1135.  
  1136.     * ldfile.c (ldfile_try_open_bfd): If bfd_error_invalid_target,
  1137.     report a better error.
  1138.  
  1139.     * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Add
  1140.     new local variable special_sections, and pass it to
  1141.     size_dynamic_sections.  Look through the results, and move the
  1142.     sections around in the mapping so that they are defined correctly.
  1143.  
  1144. Wed Nov  8 11:40:59 1995  Ian Lance Taylor  <ian@cygnus.com>
  1145.  
  1146.     * ldemul.c (ldemul_default_target): Cast getenv return value.
  1147.  
  1148. Tue Nov  7 11:15:36 1995  Kim Knuttila  <krk@cygnus.com>
  1149.  
  1150.     * emulparams/ppcpe.sh (ARCH): New file for PowerPC Portable
  1151.     Executable support.
  1152.     * scripttempl/ppcpe.sc: New file for PowerPC Portable Executable
  1153.     support.
  1154.  
  1155.     * configure.tgt (targ_extra_emuls): Added powerpcle-pe target.
  1156.     * Makefile.in (ALL_EMULATIONS): Added eppcpe.o target.
  1157.  
  1158.     * emultempl/pe.em (TARGET_IS_ppcpe): file tailoring macro
  1159.     (gld_$_before_allocation): added hooks for toc construction based
  1160.     on the above macro.
  1161.  
  1162. Tue Nov  7 11:47:23 1995  Ian Lance Taylor  <ian@cygnus.com>
  1163.  
  1164.     * ld.texinfo: The linker does not use _main as an entry point.
  1165.  
  1166. Tue Nov  7 11:46:11 1995  Manfred Hollstein KS/EF4A 60/1F/110 #40283  <manfred@lts.sel.alcatel.de>
  1167.  
  1168.     * scripttempl/m88kbcs.sc (.data): Calculate next boundary modulo
  1169.     0x2000 not 0x200.
  1170.  
  1171. Mon Nov  6 10:59:21 1995  Ian Lance Taylor  <ian@cygnus.com>
  1172.  
  1173.     * configure.in: Add test for whether free must be declared.
  1174.     * sysdep.h: Declare free if necessary.  Include "ansidecl.h".
  1175.     * acconfig.h: Explain NEED_DECLARATION_FREE.
  1176.     * configure, config.in: Rebuild.
  1177.  
  1178.     * lexsup.c (parse_args): Take B:: out of shortopts.
  1179.  
  1180. Sun Nov  5 03:08:28 1995  Ken Raeburn  <raeburn@cygnus.com>
  1181.  
  1182.     * emulparams/i386nbsd.sh (EXECUTABLE_SYMBOLS): Set __DYNAMIC to 0
  1183.     for now, as with m68k4kbsd, until shared library support gets
  1184.     done.
  1185.  
  1186.     * configure.host: For i386 BSD variants, crt0.o lives in
  1187.     /usr/lib.  (True for NetBSD at least, unconfirmed for others.)
  1188.  
  1189. Wed Nov  1 15:42:45 1995  Manfred Hollstein KS/EF4A 60/1F/110 #40283  <manfred@lts.sel.alcatel.de>
  1190.  
  1191.     * Makefile.in (ALL_EMULATIONS): Add edelta68.o.
  1192.     (edelta68.c): New target.
  1193.     * configure.tgt (m68*-motorola-sysv*): New target.
  1194.     * emulparams/delta68.sh: New file.
  1195.     * scripttempl/delta68.sc: New file.
  1196.  
  1197.     * scripttempl/m88kbcs.sc: Handle .init and .fini.  Change section
  1198.     addresses.
  1199.  
  1200. Wed Nov  1 11:41:56 1995  Ian Lance Taylor  <ian@cygnus.com>
  1201.  
  1202.     * ldgram.y (mri_script_command): Accept ',' as well as '=' in
  1203.     ALIGN and ALIGNMOD statements.
  1204.  
  1205.     * emultempl/aix.em: Include ldgram.h.
  1206.     (gld${EMULATION_NAME}_parse_args): Handle -pD and -pT, as used on
  1207.     AIX 4.1.
  1208.     * Makefile.in ($(EMULATION_OFILES)): Depend upon ldgram.h.
  1209.  
  1210. Tue Oct 31 18:22:24 1995  David Mosberger-Tang  <davidm@azstarnet.com>
  1211.  
  1212.     * configure.host (alpha-*-linux*): New host.
  1213.     * configure.tgt (alpha-*-linux*): New target.
  1214.  
  1215. Tue Oct 31 12:36:52 1995  Ian Lance Taylor  <ian@cygnus.com>
  1216.  
  1217.     * emultempl/aix.em (export_files): Remove.
  1218.     (import_files): Make static.
  1219.     (struct export_symbol_list): Define.
  1220.     (export_symbols): New static variable.
  1221.     (gld${EMULATION_NAME}_parse_args): Handle an initial -b option
  1222.     correctly.  Call read_file for an export file.
  1223.     (gld${EMULATION_NAME}_before_allocation): Call
  1224.     bfd_xcoff_export_symbol for each export symbol, rather than
  1225.     calling read_file for each export file.
  1226.     (gld${EMULATION_NAME}_read_file): For an export file, make the
  1227.     exported symbols undefined, and store them on the export_symbols
  1228.     list.
  1229.  
  1230. Sat Oct 28 00:10:03 1995  steve chamberlain  <sac@slash.cygnus.com>
  1231.  
  1232.     * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args):
  1233.     Don't hang if last option is unrecognised.
  1234.     (gld_${EMULATION_NAME}_set_symbols): Insert created
  1235.     symbols into ABS output section.
  1236.  
  1237. Fri Oct 27 18:03:17 1995  Niklas Hallqvist  <niklas@appli.se>
  1238.  
  1239.     *  Makefile.in (ALL_EMULATIONS): Added support for the NetBSD
  1240.     m68k4k arch.
  1241.     (em68k4knbsd.c): New rule.
  1242.  
  1243.     * configure.tgt: Added support for the NetBSD m68k4k arch.
  1244.  
  1245.     * genscripts.sh, ldint.texinfo,
  1246.     emulparams/{a29k,armaoutb,armaoutl,coff_sparc,ebmon29k,gld960,
  1247.     gld960coff,go32,h8300,h8300h,h8500,h8500b,h8500c,h8500m,h8500s,
  1248.     hp300bsd,hp3hpux,hppaelf.sh,i386aout,i386bsd,i386coff,i386go32,
  1249.     i386linux,i386lynx,i386nbsd,lnk960,m68kaout,m68kcoff,m68klynx,
  1250.     m88kbcs,mipsbig,mipsbsd,mipsidt,mipsidtl,mipslit,news,ns32knbsd,
  1251.     pc532machaout,riscix,sa29200,sh,shl,sparclynx,sparcnbsd,
  1252.     st2000,sun3,sun4,vanilla,vax,vsta,w65,z8001,z8002}.sh: Changed
  1253.     PAGE_SIZE to TARGET_PAGE_SIZE. 
  1254.  
  1255.     * emulparams/m68knbsd.h: Ditto.
  1256.     (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): We have 8K pagesize.
  1257.     (EXECUTABLE_SYMBOLS): Hardcode __DYNAMIC to zero for the time
  1258.     being.
  1259.  
  1260.     * emulparams/m68k4knbsd.sh: New file.
  1261.  
  1262.     * scripttempl/aout.sc: Expand EXECUTABLE_SYMBOLS if relocating.
  1263.     
  1264. Fri Oct 27 17:59:09 1995  Ian Lance Taylor  <ian@cygnus.com>
  1265.  
  1266.     * emultempl/aix.em: Include ldctor.h.
  1267.     (gld${EMULATION_NAME}_after_open): New static function.
  1268.     (gld${EMULATION_NAME}_before_allocation): Call find_relocs.
  1269.     (gld${EMULATION_NAME}_find_relocs): New static function.
  1270.     (gld${EMULATION_NAME}_find_exp_assignment): New static function.
  1271.     (ld_${EMULATION_NAME}_emulation): Use new after_open function.
  1272.     * scripttempl/aix.sc: Use CONSTRUCTORS in .data.
  1273.     * ldctor.c (struct set_info): Move definition into ldctor.h.
  1274.     (struct set_element): Likewise.
  1275.     (sets): Make non-static.
  1276.     (ldctor_add_set_entry): Add name parameter.  Save it in the new
  1277.     set element.
  1278.     (ldctor_build_sets): Avoid being called twice.  Pass set element
  1279.     name to lang_add_reloc.
  1280.     * ldctor.h (struct set_info): Move definition here from ldctor.c.
  1281.     (struct set_element): Likewise.  Add new field name.
  1282.     (sets): Declare.
  1283.     (ldctor_add_set_entry): Declare new name parameter.
  1284.     * ldwrite.c (build_link_order): Don't insist that either name or
  1285.     section be NULL in a lang_reloc_statement.
  1286.     * ldmain.c (add_to_set): Pass NULL to ldctor_add_new_set_entry for
  1287.     new name parameter.
  1288.     (constructor_callback): Pass name to ldctor_add_new_set_entry for
  1289.     new name parameter.
  1290.     
  1291.     * ldmisc.c (demangle): Fix indentation.  Remove a leading period.
  1292.  
  1293. Thu Oct 26 22:22:49 1995  Stan Shebs  <shebs@andros.cygnus.com>
  1294.  
  1295.     * mpw-config.in: Add PowerMac target support, generate config.h.
  1296.     * mac-ld.r: New file, Mac resources.
  1297.     * mpw-make.sed: New file, edits Makefile.in into MPW syntax.
  1298.     * mpw-make.in: Remove.
  1299.     * mpw-eppcmacos.c: Prebuilt version of PowerMac linking script.
  1300.  
  1301. Thu Oct 26 14:11:26 1995  Ian Lance Taylor  <ian@cygnus.com>
  1302.  
  1303.     * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Treat
  1304.     -static as a synonym for -bnso.
  1305.  
  1306.     * scripttempl/aix.sc: Move special symbols inside sections.
  1307.     Always start .data at 0.
  1308.  
  1309. Wed Oct 25 11:52:12 1995  Per Bothner  <bothner@kalessin.cygnus.com>
  1310.  
  1311.     * Makefile.in (diststuff):  Also make info.
  1312.     (maintainer-clean realclean):  Also delete *.info*.
  1313.  
  1314. Wed Oct 25 11:27:25 1995  Ian Lance Taylor  <ian@cygnus.com>
  1315.  
  1316.     * emultempl/aix.em: Add support for various AIX linker options,
  1317.     for AIX import and export files, and for AIX shared objects.
  1318.     * scripttempl/aix.sc: Add .pad.  Put .ds just before the TOC.
  1319.  
  1320.     * ldmain.c (main): Initialize new field link_info.static_link.
  1321.  
  1322.     * ldmain.c (add_keepsyms_file): Add \n at end of einfo calls.
  1323.     (constructor_callback): Likewise.
  1324.     * ldmisc.c (vfinfo): Likewise.
  1325.     * ldwrite.c (build_link_order): Likewise.
  1326.  
  1327.     * ld.texinfo: The MRI ALIGN directive is supported.
  1328.  
  1329. Mon Oct 23 11:46:43 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
  1330.  
  1331.     * emulparams/elf32vr4300.sh: Deleted.
  1332.     * emulparams/elf32vr4300el.sh: Deleted.
  1333.     * emulparams/elf32b4300.sh: Added.
  1334.     * emulparams/elf32l4300.sh: Added.
  1335.     * configure.tgt, Makefile.in: Updated the build to use the
  1336.      new 8.3 unique names.
  1337.  
  1338. Thu Oct 19 17:41:46 1995  Ian Lance Taylor  <ian@cygnus.com>
  1339.  
  1340.     * ldlang.c (entry_symbol): Make non-static.
  1341.     * ldlang.h (entry_symbol): Declare.
  1342.  
  1343.     * ldlex.l: Treat PROVIDE as a keyword in expression state.
  1344.  
  1345. Wed Oct 18 17:34:06 1995  steve chamberlain  <sac@slash.cygnus.com>
  1346.  
  1347.     * scripttempl/pe.sc (.bss): Move to be after .text
  1348.  
  1349. Tue Oct 17 12:22:05 1995  Ian Lance Taylor  <ian@cygnus.com>
  1350.  
  1351.     * emultempl/sunos.em (gld${EMULATION_NAME}_find_exp_assignment):
  1352.     Search trinary.cond rather than searching trinary.lhs twice.  From
  1353.     linli@ihp.PHys.ethz.CH.
  1354.  
  1355.     * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Move
  1356.     directory searching code into gld${EMULATION_NAME}_search_dir.
  1357.     (gld${EMULATION_NAME}_search_dir): New static function, extracted
  1358.     from gld${EMULATION_NAME}_find_so.
  1359.     (global_needed, global_found): New static variables.
  1360.     (gld${EMULATION_NAME}_after_open): New static function.
  1361.     (gld${EMULATION_NAME}_search_needed): New static function.
  1362.     (gld${EMULATION_NAME}_try_needed): New static function.
  1363.     (gld${EMULATION_NAME}_check_needed): New static function.
  1364.     (ld_${EMULATION_NAME}_emulation): Use new after_open function.
  1365.     * ld.texinfo, ld.1: Mention -rpath-link on SunOS.
  1366.  
  1367.     * Makefile.in (eelf32ppc.c): Depend upon elf32.em, not generic.em.
  1368.     (eelf32lppc.c): Likewise.
  1369.     * emulparams/elf32lppc.sh (TEMPLATE_NAME): Define as elf32.
  1370.     (GENERATE_SHLIB_SCRIPT): Define as yes.
  1371.  
  1372. Mon Oct 16 19:11:13 1995  Ian Lance Taylor  <ian@cygnus.com>
  1373.  
  1374.     * emultempl/elf32.em: Struct bfd_elf_link_needed_list is now named
  1375.     bfd_link_needed-list; make appropriate changes.
  1376.  
  1377.     * configure.tgt (powerpc-*-aix*): New target; use aixppc.
  1378.     (rs6000-*-aix*): New target; use aixrs6.
  1379.     * emulparams/aixppc.sh, emulparams/aixrs6.sh: New files.
  1380.     * emultempl/aix.em: New file.
  1381.     * scripttempl/aix.sc: New file.
  1382.     * Makefile.in (ALL_EMULATIONS): Add eaixppc.o and eaixrs6.o.
  1383.     (eaixppc.c, eaixrs6.c): New targets.
  1384.  
  1385. Fri Oct 13 14:00:37 1995  steve chamberlain  <sac@slash.cygnus.com>
  1386.  
  1387.     * scripttemp/pe.sc (.reloc): Move to the end.
  1388.  
  1389. Tue Oct 10 17:53:22 1995  Ian Lance Taylor  <ian@cygnus.com>
  1390.  
  1391.     * ldlang.c (lang_finish): Don't try to use an entry_symbol from a
  1392.     section which was not linked into the final output.
  1393.  
  1394. Tue Oct 10 10:17:22 1995  steve chamberlain  <sac@slash.cygnus.com>
  1395.  
  1396.     * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Fix
  1397.     fatal typos.
  1398.  
  1399. Tue Oct 10 01:01:51 1995  Ian Lance Taylor  <ian@cygnus.com>
  1400.  
  1401.     * ld.h (args_type): Add rpath_link field.
  1402.     * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search for
  1403.     required dependencies in rpath_link path.  Only search
  1404.     LD_LIBRARY_PATH when configured native.
  1405.     * lexsup.c (parse_args): Recognize -rpath-link.
  1406.     * ld.1, ld.texinfo: Document -rpath-link.
  1407.  
  1408. Sat Oct  7 17:07:17 1995  Ian Lance Taylor  <ian@cygnus.com>
  1409.  
  1410.     * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
  1411.     bother searching for needed libraries unless doing a final link.
  1412.  
  1413. Fri Oct  6 16:26:16 1995  Ken Raeburn  <raeburn@cygnus.com>
  1414.  
  1415.     Mon Sep 25 22:49:32 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
  1416.  
  1417.     * ld/ld.1: Fix formatting bugs.
  1418.  
  1419. Wed Oct  4 17:37:46 1995  Ian Lance Taylor  <ian@cygnus.com>
  1420.  
  1421.     * ldexp.c (exp_get_abs_int): Return bfd_vma, not int.
  1422.     * ldexp.h (exp_get_abs_int): Update declaration.
  1423.     * ldlang.c (print_output_section_statement): Use fprintf_vma to
  1424.     print return value of exp_get_abs_int.
  1425.  
  1426. Mon Oct  2 13:56:09 1995  Ian Lance Taylor  <ian@cygnus.com>
  1427.  
  1428.     * emultempl/elf32.em (global_stat): New file static variable.
  1429.     (gld${EMULATION_NAME}_try_needed): Call stat_needed to make sure
  1430.     that the file has not already been included under another name.
  1431.     (gld${EMULATION_NAME}_stat_needed): New static function.
  1432.  
  1433. Fri Sep 29 12:00:18 1995  Doug Evans  <dje@deneb.cygnus.com>
  1434.  
  1435.     * scripttempl/armcoff.sc: Start .text at 0x8000.
  1436.     Start .data at 0x40000.
  1437.  
  1438. Fri Sep 29 11:09:46 1995  Ian Lance Taylor  <ian@cygnus.com>
  1439.  
  1440.     * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): If
  1441.     command_line.rpath is set, use it, rather than the -L options, to
  1442.     build the rules section.
  1443.     * ld.texinfo: Document this use of -rpath.
  1444.  
  1445.     * lexsup.c (parse_args): Don't set link_info.shared for -assert
  1446.     pure-text.  Pass true, not 1, to lang_add_entry.
  1447.     * emultempl/sunos.em (find_assign): New static variable.
  1448.     (found_assign): New static variable.
  1449.     (gld${EMULATION_NAME}_before_allocation): Rename local h to hdyn.
  1450.     If not a relocateable link, and no start symbol was specified on
  1451.     the command line, and there are any undefined symbols, set
  1452.     link_info.shared.  If link_info.shared is set, set the address of
  1453.     the .text section to 0x20.
  1454.     (gld${EMULATION_NAME}_find_assignment): Rename from
  1455.     gld${EMULATION_NAME}_find_statement_assignment.  If find_assign is
  1456.     set, then just set found_assign based on whether an assignment is
  1457.     found to find_assign.
  1458.     (gld${EMULATION_NAME}_get_script): Don't use a special script when
  1459.     producing a shared library.
  1460.     * emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Remove.
  1461.     * scripttempl/aout.sc: Remove CREATE_SHLIB tests.
  1462.     * ldlang.c (entry_from_cmdline): New global variable.
  1463.     (lang_add_entry): Change cmdline parameter from int to boolean.
  1464.     Use global entry_from_cmdline rather than function static
  1465.     from_cmdline.
  1466.     * ldlang.h (entry_from_cmdline): Declare.
  1467.     (lang_add_entry): Change declaration of second parameter from int
  1468.     to boolean.
  1469.     * ldgram.y: Pass false, not 0, to lang_add_entry.
  1470.  
  1471. Thu Sep 28 12:34:13 1995  Ian Lance Taylor  <ian@cygnus.com>
  1472.  
  1473.     * ld.h (parsing_defsym): Declare.
  1474.     * ldlex.h (lex_string): Declare.
  1475.     * ldlex.l (lex_string): Define.
  1476.     * lexsup.c (parsing_defsym): Define.
  1477.     (parse_args): In OPTION_DEFSYM case, set lex_string before calling
  1478.     lex_redirect, and clear it after calling yyparse.  Set
  1479.     parsing_defsym around call to yyparse.
  1480.     * ldmain.c (main): Set lex_string before calling lex_redirect, and
  1481.     clear it after calling yyparse.
  1482.     * ldmisc.c (vfinfo): For %S, handle --defsym arguments and built
  1483.     in linker scripts correctly.
  1484.  
  1485.     * scripttempl/sparccoff.sc: Add .ctors/.dtors handling like other
  1486.     COFF targets, allowing for the leading underscore used on SPARC
  1487.     COFF.
  1488.  
  1489.     * lexsup.c (parse_args): Handle -assert.
  1490.     * emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Define.
  1491.     * emultempl/sunos.em (gld${EMULATION_NAME}_get_script): Use the
  1492.     shared library script when appropriate.
  1493.     * scripttempl/aout.sc: If CREATE_SHLIB is set, start the .text
  1494.     section at SIZEOF_HEADERS.
  1495.  
  1496. Thu Sep 28 01:40:37 1995  Doug Evans  <dje@deneb.cygnus.com>
  1497.  
  1498.     * Makefile.in (earmcoff.c): Build.
  1499.     * configure.tgt (arm-*-coff): New target
  1500.     * emulparms/armcoff.sh: New file.
  1501.     * scripttempl/armcoff.sc: New file.
  1502.  
  1503. Tue Sep 26 10:59:32 1995  Ian Lance Taylor  <ian@cygnus.com>
  1504.  
  1505.     * scripttempl/i386coff.sc: Remove .data2; no longer needed.
  1506.  
  1507. Fri Sep 22 18:09:02 1995  Ian Lance Taylor  <ian@cygnus.com>
  1508.  
  1509.     * ldfile.c (ldfile_set_output_arch): Make arch const.
  1510.  
  1511. Thu Sep 21 17:55:24 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  1512.  
  1513.     * scripttempl/elfppc.sc: Correctly locate __bss_start at the
  1514.     beginning of the .bss area, not at the end of data.  Add
  1515.     __sbss_{start,end} symbols.
  1516.  
  1517. Wed Sep 20 12:29:36 1995  Ian Lance Taylor  <ian@cygnus.com>
  1518.  
  1519.     * Makefile.in (CC_FOR_TARGET): Quote $(program_transform_name).
  1520.     (CXX_FOR_TARGET, install): Likewise.
  1521.  
  1522. Mon Sep 18 14:53:22 1995  Ian Lance Taylor  <ian@cygnus.com>
  1523.  
  1524.     Based on patches by Alan Modra <alan@spri.levels.unisa.edu.au>:
  1525.     * Makefile.in (CC_FOR_TARGET): Remove brokensed stuff.
  1526.     (CXX_FOR_TARGET): Likewise.
  1527.     (install): Likewise.
  1528.     (GENERATED_HFILES): Remove config.h.
  1529.     (.dep): Depend upon config.h.
  1530.  
  1531. Mon Sep 18 14:39:38 1995  Arne H. Juul  <arnej@pvv.unit.no>
  1532.  
  1533.     * configure.tgt (mips*-dec-netbsd*): New target.
  1534.  
  1535. Fri Sep 15 20:01:52 1995  Ken Raeburn  <raeburn@cygnus.com>
  1536.  
  1537.     * configure.host (m88*-*-dgux*): Fix another shell syntax error.
  1538.  
  1539. Fri Sep 15 23:28:05 1995  Andrew Cagney  <cagney@highland.com.au>
  1540.  
  1541.     * configure.host (i[345]86-*-bsd*): Fix shell syntax error.
  1542.  
  1543. Thu Sep 12 12:50:49 1995  steve chamberlain  <sac@slash.cygnus.com>
  1544.  
  1545.     * scripttemp/pe.sc:  Allow both spellings of .ctors/.dtors.
  1546.     Start .text section on the right boundary. Always align
  1547.     stabs.
  1548.  
  1549. Tue Sep 12 12:24:17 1995  Ian Lance Taylor  <ian@cygnus.com>
  1550.  
  1551.     * Makefile.in (maintainer-clean): New target.
  1552.  
  1553.     * ldmain.c (struct warning_callback_info): Define.
  1554.     (warning_callback): Add new parameter symbol.  Call
  1555.     warning_find_reloc to try to find the section and VMA.
  1556.     (warning_find_reloc): New static function.
  1557.     * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
  1558.     Pass NULL as symbol parameter to warning callback.
  1559.  
  1560.     * ld.texinfo: Clarify -L option.
  1561.  
  1562.     * ldlang.c (lang_one_common): Add cast to avoid warning.
  1563.     (topower): Likewise.  Also, reindent.
  1564.     * ldwrite.c (clone_section): Change i to unsigned int.
  1565.     * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Add
  1566.     cast to avoid warning.
  1567.  
  1568. Fri Sep  8 16:32:43 1995  Ian Lance Taylor  <ian@cygnus.com>
  1569.  
  1570.     * Makefile.in (config.status): Depend upon configure.tgt.
  1571.  
  1572.     * ldemul.h (ldemul_set_symbols): Declare.
  1573.     (ldemul_parse_args): Declare.
  1574.     * ldemul.c (ldemul_parse_args): Fix indentation.
  1575.  
  1576.     * configure.in: Call AC_HEADER_DIRENT.
  1577.     * configure, config.in: Rebuild.
  1578.     * emultempl/sunos.em: Use autoconf recommend mechanism to define
  1579.     DIR and struct dirent.
  1580.  
  1581.     * configure.tgt (mips*-*-bsd*): New case.
  1582.  
  1583.     * configure.host (i[345]86-sequent-ptx* | i[345]86-sequent-sysv*)
  1584.     New case.
  1585.     * configure.tgt (i[345]86-*-ptx*): New case.
  1586.  
  1587. Thu Sep  7 10:48:26 1995  Ian Lance Taylor  <ian@cygnus.com>
  1588.  
  1589.     * config.in: Rename from config.h.in.
  1590.     * configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
  1591.     Check for config.h:config.in when creating stamp-h.
  1592.     * configure: Rebuild.
  1593.     * Makefile.in (stamp-h): Depend upon config.in rather than
  1594.     config.h.in.  Set CONFIG_HEADERS to config.h:config.in when
  1595.     calling config.status.
  1596.  
  1597.     * Makefile.in (distclean): Remove config.h and stamp-h.
  1598.  
  1599.     * configure.host (sparc-*-sunos64*): Remove.
  1600.     * ldlang.c (lang_map): Check BFD64, not HOST_64_BIT.
  1601.  
  1602.     * ldexp.c (exp_fold_tree): Don't warn about moving the location
  1603.     counter backward in the absolute section.
  1604.  
  1605. Wed Sep  6 14:42:11 1995  Ian Lance Taylor  <ian@cygnus.com>
  1606.  
  1607.     * configure.in: Rewrite to use autoconf.
  1608.     * configure.host: New file.
  1609.     * configure.tgt: New file.
  1610.     * aclocal.m4: New file.
  1611.     * configure: New file, built by autoconf.
  1612.     * acconfig.h: New file.
  1613.     * config.h.in: New file, built by autoheader.
  1614.     * sysdep.h: New file.
  1615.     * ld.h: Incorporate old contents of config.h.
  1616.     * config.h: Remove.
  1617.     * Makefile.in: Various changes for new configure script.  Also:
  1618.     (CC_FOR_BUILD): Remove.
  1619.     (ldmain.o): Don't bother to ensure that EMUL is non-empty.
  1620.     (dep.sed): Use @SRCDIR@, not @srcdir@.
  1621.     * dep-in.sed: Use @SRCDIR@, not @srcdir@.
  1622.     * genscripts.sh: Create ldscripts if it does not exist.
  1623.     * ldemul.c, lexsup.c, mpw-emipsidt.c: Don't include "config.h".
  1624.     * mpw-esh.c, emultemp/*.em: Likewise.
  1625.     * ldmain.c: Likewise.  Include <ctype.h>.  Don't try to set
  1626.     HAVE_SBRK here.
  1627.     * config/*.mt, config/*.mh: Remove.
  1628.  
  1629. Tue Sep  5 14:55:24 1995  Ken Raeburn  <raeburn@cygnus.com>
  1630.  
  1631.     * configure.in: Treat ns32k-pc532-ux* like ns32k-pc532-mach*, and
  1632.     ns32k-pc532-lites* like ns32k-pc532-netbsd*.  From Ian Dall.
  1633.  
  1634. Fri Sep  1 22:29:52 1995  Doug Evans  <dje@canuck.cygnus.com>
  1635.  
  1636.     * scripttempl/pe.sc: Fix typo in spelling of .ctors/.dtors.
  1637.  
  1638. Fri Sep  1 13:13:29 1995  Ian Lance Taylor  <ian@cygnus.com>
  1639.  
  1640.     * ldmain.c (warning_callback): Add abfd, section, and address
  1641.     parameters.
  1642.     * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
  1643.     Change call to warning accordingly.
  1644.  
  1645.     * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): If not
  1646.     relocateable and not shared, put .gnu.warning.SYMBOL sections into
  1647.     the .text section.
  1648.  
  1649. Fri Sep  1 08:35:16 1995  James G. Smith  <jsmith@beauty.cygnus.com>
  1650.  
  1651.     * configure.in: Added mips*vr4300-idt-elf* and
  1652.         mips*vr4300el-idt-elf* targets.
  1653.     * Makefile.in: Added eelf32vr4300* targets.
  1654.     * emulparams/{elf32vr4300.sh, elf32vr4300el.sh}: Added.
  1655.     * config/{mips-vr4300.mt, mips-vr4300el.mt}: Added.
  1656.  
  1657. Fri Sep  1 10:51:45 1995  Ian Lance Taylor  <ian@cygnus.com>
  1658.  
  1659.     * scripttempl/a29k.sc: Fix to be reasonable.  From Brendan Kehoe
  1660.     <brendan@cygnus.com>.
  1661.  
  1662. Thu Aug 31 16:37:07 1995  steve chamberlain  <sac@slash.cygnus.com>
  1663.  
  1664.     * ldemul.c (ldemul_parse_args): New.
  1665.     * ldemul.h (ld_emulation_xfer_struct): Add parse_args.
  1666.     * lexsup.c (all pe stuff): Moved into pe.em
  1667.     (parse_args): Call emulation arg parser.
  1668.     * emultempl/pe.em (parse_args): handle PE specfic args.
  1669.  
  1670. Thu Aug 31 17:01:37 1995  Ian Lance Taylor  <ian@cygnus.com>
  1671.  
  1672.     * ldlang.c (lang_memory_region_lookup): Don't use the first region
  1673.     as the default region.  Create a new region instead.
  1674.  
  1675. Tue Aug 29 14:21:41 1995  steve chamberlain  <sac@slash.cygnus.com>
  1676.  
  1677.     * ldemul.c (ldemul_set_symbols): New function.
  1678.     * ldemul.h (ld_emulation_xfer_struct): Add set_symbols.
  1679.     * ldmain.c (main): Add call to ldemul_set_symbols.
  1680.     * lexsup.c (set_pe_value): New args.
  1681.     (set_pe_name): New.
  1682.     (parse_args): Cope with new set_pe_value args.
  1683.     * emultempl/pe.em (set_symbols): New function.
  1684.     (ld_emulation_xfer_struct): Add set_symbols.
  1685.     * scripttempl/pe.sc: Use new symbols.
  1686.  
  1687. Thu Aug 24 18:12:18 1995  Ian Lance Taylor  (ian@cygnus.com)
  1688.  
  1689.     * lexsup.c (parse_args): Don't call set_default_dirlist for -O.
  1690.     For -Y, ignore a leading `P,', and only call set_default_dirlist
  1691.     after processing all the other arguments.
  1692.  
  1693. Tue Aug 22 07:36:58 1995  steve chamberlain  <sac@slash.cygnus.com>
  1694.  
  1695.     * scripttempl/pe.sc: Keep .edata, don't base stabs at 0.
  1696.     * emulparams/armpe.sh: Run PE script.
  1697.  
  1698. Mon Aug 21 18:30:42 1995  steve chamberlain  <sac@slash.cygnus.com>
  1699.  
  1700.     * ldmain.c (main): Remove PE stuff.
  1701.     * lexsup.c (options): Load more PE options.
  1702.     (set_pe_value): New function.
  1703.  
  1704. Thu Aug 17 13:35:49 1995  steve chamberlain  <sac@slash.cygnus.com>
  1705.     
  1706.  
  1707.     * emultempl/{armpe.sc, i386pe.sc}: Deleted.
  1708.     * emultempl/pe.sc: New file performs generic PE support and sorts
  1709.     archive members.
  1710.     * emulparams/{armpe.sh,i386pe.sh}: Use new file.
  1711.     * scripttempl/{armpe.sc, i386pe.sc}: Deleted
  1712.     * scripttempl/pe.sc: New.
  1713.     * Makefile.in: Use new files.
  1714.  
  1715. Thu Aug 17 14:46:34 1995  Doug Evans  <dje@canuck.cygnus.com>
  1716.  
  1717.     * scripttempl/h8500s.sc (.rdata): All data must go in data segment.
  1718.     (.strings,.ctors,.dtors): Likewise.
  1719.  
  1720. Wed Aug 16 11:38:59 1995  steve chamberlain  <sac@slash.cygnus.com>
  1721.  
  1722.     * scripttempl/armpe.sc: Always start code at 0x401000, even
  1723.     if -r.
  1724.     * ldwrite.c (strdup): New extern declaration.
  1725.     * ldgram.y (atype): New rule to clarify type parsing. 
  1726.     * ldlang.c (init_os): Remove commented out code.
  1727.     (lang_size_sections): Set SEC_ALLOC and SEC_LOAD bits
  1728.     unless told not to by the link script.
  1729.  
  1730. Wed Aug 16 11:45:11 1995  Ian Lance Taylor  <ian@cygnus.com>
  1731.  
  1732.     * ldlang.c (lang_set_startof): New static function.
  1733.     (lang_process): Call it.
  1734.  
  1735.     * ldgram.y: Tweak casesymlist to avoid bison errors.
  1736.  
  1737.     * lexsup.c (parse_args): Accept -h as a synonym for --soname, for
  1738.     Solaris compatibility.
  1739.  
  1740. Tue Aug 15 17:31:16 1995  Ian Lance Taylor  <ian@cygnus.com>
  1741.  
  1742.     * ldgram.y (YYDEBUG): If not defined, define as 1.
  1743.     (CASE, EXTERN, START): New tokens.
  1744.     (mri_script_command): Handle CASE, EXTERN, INCLUDE, START.
  1745.     (casesymlist): New nonterminal.
  1746.     (extern_name_list): New nonterminal.
  1747.     * ldlex.l: Accept lower case trailing base specifiers.  Don't
  1748.     ignore the first digit when the base is a suffix.  Accept many
  1749.     EXPRESSION state tokens in MRI state.  Support MRI continuation
  1750.     lines and MRI semicolon comments.  Accept all MRI keywords in
  1751.     lower case.  Add CASE, EXTERN, and START MRI keywords.
  1752.  
  1753. Tue Aug  8 19:14:58 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
  1754.  
  1755.     * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Use xmalloc
  1756.     instead of alloca.
  1757.  
  1758. Tue Aug  8 15:24:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
  1759.  
  1760.     * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Don't use
  1761.     $r/../gcc/xgcc unless it is present.
  1762.  
  1763. Thu Aug  3 11:56:22 1995  Ian Lance Taylor  <ian@cygnus.com>
  1764.  
  1765.     * scripttempl/m68kcoff.sc: Only put .ctors and .dtors in .text
  1766.     when CONSTRUCTING.
  1767.     * scripttempl/m68klynx.sc: Likewise.
  1768.     * scripttempl/nw.sc: Likewise.
  1769.     * scripttempl/sa29200.sc: Likewise.
  1770.     * scripttempl/sparclynx.sc: Likewise.
  1771.  
  1772. Fri Jul 28 12:02:23 1995  steve chamberlain  <sac@slash.cygnus.com>
  1773.  
  1774.     * emulparams/{z8001.sh, z8002.sh}: Fix typo.
  1775.  
  1776. Thu Jul 27 21:06:21 1995  Ken Raeburn  <raeburn@cygnus.com>
  1777.  
  1778.     * configure.in (i[345]86-*-linuxoldld): Treat like linuxaout*.
  1779.  
  1780. Thu Jul 27 15:26:28 1995  steve chamberlain  <sac@slash.cygnus.com>
  1781.  
  1782.     * scripttempl/i386pe.sc: Cope with constructors.
  1783.     * scripttempl/z8ksim.sc: Deleted.
  1784.     * scripttempl/z8000.sc: Resurrected as this, but
  1785.     can handle z8001 and z8002 formats.
  1786.     * emulparams/z8ksim.sh: Deleted.
  1787.     * emulparams/{z8001.sh, z8002.sh}: New files.
  1788.     * config/z8ksim.mt: Deleted
  1789.     * config/z8k-coff.mt: New, generates both emulations.
  1790.  
  1791. Tue Jul 25 14:53:02 1995  Ian Lance Taylor  <ian@cygnus.com>
  1792.  
  1793.     * ldmisc.c (vfinfo): In %C and %D case, always print the BFD using
  1794.     %B, in case it is in an archive.
  1795.  
  1796. Mon Jul 24 15:23:39 1995  Ian Lance Taylor  <ian@cygnus.com>
  1797.  
  1798.     * ldlang.c (lang_process): Call reset_memory_regions for each
  1799.     relaxation pass.
  1800.  
  1801. Fri Jul 21 22:49:44 1995  Michael Meissner  <meissner@cygnus.com>
  1802.  
  1803.     * scripttempl/elfppc.sc: Add support for .sdata, .sbss, and
  1804.     _SDA_BASE.
  1805.  
  1806. Thu Jul 20 16:26:55 1995  Ken Raeburn  <raeburn@cygnus.com>
  1807.  
  1808.     * ldmain.c (constructor_callback): Allocate set_name in stack
  1809.     frame, rather than always calling alloca with a fixed size.
  1810.  
  1811. Wed Jul 19 16:21:43 1995  Doug Evans  <dje@canuck.cygnus.com>
  1812.  
  1813.     * emulparams/armpe.sh (OUTPUT_FORMAT): Change to pei-arm-little.
  1814.     (LITTLE_OUTPUT_FORMAT, BIG_OUTPUT_FORMAT): Define.
  1815.  
  1816. Mon Jul 17 13:57:00 1995  Ian Lance Taylor  <ian@cygnus.com>
  1817.  
  1818.     * ldwrite.c (clone_section): Set the alignment of the clone
  1819.     section to that of the section being cloned.
  1820.  
  1821.     * ldwrite.c (split_sections): Don't split the first input section
  1822.     into a new output section.
  1823.  
  1824. Sat Jul 15 00:26:35 1995  Michael Meissner  <meissner@cygnus.com>
  1825.  
  1826.     * emulparams/elf32ppc.sh (TEMPLATE_NAME): Define as elf32.
  1827.     (GENERATE_SHLIB_SCRIPT): Define as yes.
  1828.  
  1829. Fri Jul 14 12:11:46 1995  Ian Lance Taylor  <ian@cygnus.com>
  1830.  
  1831.     * emultempl/mipsecoff.em (check_sections): Use %P, not %F.
  1832.  
  1833.     * ldver.c (help): Update list of options to match currently
  1834.     supported list.
  1835.  
  1836. Thu Jul 13 13:52:10 1995  Ian Lance Taylor  <ian@cygnus.com>
  1837.  
  1838.     * emultempl/lnk960.em (ld_lnk960_emulation): Initialize
  1839.     after_open field.
  1840.  
  1841.     * ldexp.c (exp_intop): Don't cast stat_alloc arg to bfd_size_type;
  1842.     it takes a size_t anyhow.
  1843.     (exp_binop): Likewise.
  1844.     (exp_trinop): Likewise.
  1845.     (exp_unop): Likewise.
  1846.     (exp_nameop): Likewise.
  1847.     (exp_assop): Likewise.
  1848.     * ldlang.c (lang_memory_region_lookup): Likewise.
  1849.     (init_os): Likewise.
  1850.     (ldlang_add_undef): Likewise.
  1851.     (insert_pad): Likewise.
  1852.     * ldfile.c (ldfile_add_arch): Don't cast xmalloc arg to
  1853.     bfd_size_type.
  1854.  
  1855.     * Makefile.in (ALL_EMULATIONS): It's earmaoutb.o, not earmoutb.o.
  1856.  
  1857. Wed Jul 12 11:32:22 1995  Ian Lance Taylor  <ian@cygnus.com>
  1858.  
  1859.     * ldemul.h (ldemul_open_dynamic_archive): Add search parameter to
  1860.     declaration.
  1861.     (ld_emulation_xfer_type): Add search parameter to
  1862.     open_dynamic_archive entry point.
  1863.     * ldemul.c (ldemul_open_dynamic_archive): Add search parameter.
  1864.     * ldfile.c (ldfile_try_open_bfd): Rename from try_open_bfd, and
  1865.     make non-static.  Change all callers to use new name.
  1866.     (ldfile_open_file_search): Make static.  If entry is dynamic, call
  1867.     ldemul_open_dynamic_archive.
  1868.     (ldfile_open_file): Don't call ldemul_open_dynamic_archive.
  1869.     * ldfile.h (ldfile_open_file_search): Don't declare.
  1870.     (ldfile_try_open_bfd): Declare.
  1871.     * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
  1872.     Accept search parameter.  Don't search for a library, just look in
  1873.     a single place.
  1874.     * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive):
  1875.     Likewise.
  1876.  
  1877. Tue Jul 11 16:44:21 1995  Ian Lance Taylor  <ian@cygnus.com>
  1878.  
  1879.     * ldmain.c (set_scripts_dir): Don't base script directory on
  1880.     current directory.
  1881.  
  1882. Tue Jul 11 12:29:02 1995  Rick Sladkey  <jrs@world.std.com>
  1883.  
  1884.     * ldmisc.c (vfinfo): Don't print the line number if it isn't
  1885.     meaningful.
  1886.  
  1887. Mon Jul 10 13:38:28 1995  Ian Lance Taylor  <ian@cygnus.com>
  1888.  
  1889.     * ld.h (ld_config_type): Add field warn_constructors.
  1890.     * ldmain.c (add_to_set): Warn if config.warn_constructors.
  1891.     (constructor_callback): Likewise.
  1892.     * lexsup.c (parse_args): Handle -warn-constructors.
  1893.     * ld.texinfo, ld.1: Document -warn-constructors.
  1894.  
  1895.     * emultempl/elf32.em (gld${EMULATION_NAME}_check_needed): Don't
  1896.     get confused by directory names if we searched for the file.
  1897.  
  1898.     Based on patches from H.J. Lu <hjl@nynexst.com>:
  1899.     * ldlang.h (lang_input_statement_type): Add new field dynamic.
  1900.     * ldlang.c (new_afile): Set dynamic from config.dynamic_link.
  1901.     * ldfile.c: Include bfdlink.h.
  1902.     (ldfile_open_file): Check dynamic field of entry, not global
  1903.     dynamic_link field.  Don't do a dynamic search when doing a
  1904.     relocateable link.
  1905.     * ldmain.c (main): Don't warn about dynamic_link for a
  1906.     relocateable link.
  1907.     * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Skip file if
  1908.     dynamic is false.
  1909.     (gld${EMULATION_NAME}_create_output_section_statements): Always
  1910.     loop over input files.
  1911.     * Makefile.in: Rebuild dependencies.
  1912.  
  1913.     * ld.texinfo, ld.1: Document -Bstatic, -Bdynamic, -Bshared, and
  1914.     -shared.
  1915.  
  1916. Mon Jul 10 13:29:43 1995  Eric Youngdale  <eric@aib.com>
  1917.  
  1918.     * ldmain.c (main): Set link_info.symbolic to false.
  1919.     * lexsup.c (parse_args): Handle -Bsymbolic.
  1920.  
  1921. Wed Jul  5 00:12:11 1995  Fred Fish  (fnf@cygnus.com)
  1922.  
  1923.     * ldmain.c (HAVE_SBRK):  Define for everything except
  1924.     specific systems that are known to not support sbrk.
  1925.     (main):  Use HAVE_SBRK to decide whether or not to use sbrk.
  1926.  
  1927. Tue Jul  4 12:55:48 1995  Ian Lance Taylor  <ian@cygnus.com>
  1928.  
  1929.     * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment):
  1930.     Handle etree_provide.
  1931.  
  1932.     * emultempl/elf32.em (global_needed): New static variable.
  1933.     (global_found): Likewise.
  1934.     (gld${EMULATION_NAME}_after_open): New static function.
  1935.     (gld${EMULATION_NAME}_search_needed): Likewise.
  1936.     (gld${EMULATION_NAME}_try_needed): Likewise.
  1937.     (gld${EMULATION_NAME}_check_needed): Likewise.
  1938.     (ld_${EMULATION_NAME}_emulation): Replace after_open_default with
  1939.     gld${EMULATION_NAME}_after_open.
  1940.  
  1941. Mon Jul  3 14:26:37 1995  Steve Chamberlain  <sac@slash.cygnus.com>
  1942.  
  1943.     * configure.in (i386-*-win32): New target.
  1944.  
  1945. Mon Jul  3 14:39:22 1995  Ian Lance Taylor  <ian@cygnus.com>
  1946.  
  1947.     * lexsup.c (parse_args): Let -G either set the small data size or
  1948.     be equivalent to --shared, depending on the next argument.  Accept
  1949.     and ignore -z for Solaris compatibility.
  1950.  
  1951. Sun Jul  2 17:52:34 1995  Ian Lance Taylor  <ian@cygnus.com>
  1952.  
  1953.     * lexsup.c (parse_args): Cast fopen result to PTR before storing
  1954.     it in link_info.base_file.  Fix indentation.
  1955.  
  1956. Wed Jun 28 17:11:25 1995  Steve Chamberlain  <sac@slash.cygnus.com>
  1957.  
  1958.     * ldmain.c (main): Always initialize PE info in link_info.
  1959.     * lexsup.c (OPTION_BASE_FILE): New option.
  1960.     (parse_args): Handle new option.
  1961.     * emulparams/armpe.sh: Output pei.
  1962.     * emultempl/i386pe.em: Add newline to end.
  1963.     * scripttempl/armpe.sc: Change output and quote the $s.
  1964.     * scripttempl/i386pe.sc: Change output and quote the $s.
  1965.  
  1966. Thu Jun 22 19:55:41 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  1967.  
  1968.     Sun May  7 11:53:41 MDT 1995  Bryan Ford  <baford@cs.utah.edu>
  1969.  
  1970.     * configure.in (i386-*-msdos*, i386-*-moss*): New targets.
  1971.     * Makefile.in (ALL_EMULATIONS): Added i386msdos.o.
  1972.     (i386msdos.o): New target.
  1973.     * config/i386-msdos.mt: Created.
  1974.     * emulparams/i386msdos.sh: Created.
  1975.     * scripttempl/i386msdos.sc: Created.
  1976.  
  1977. Thu Jun 22 15:06:35 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  1978.  
  1979.     * scripttempl/elfppc.sc (.fixup): Add support for a .fixup section
  1980.     that contains pointers to be relocated.
  1981.  
  1982. Tue Jun 20 17:47:20 1995  Stan Shebs  <shebs@andros.cygnus.com>
  1983.  
  1984.     * mpw-esh.c: New file, modified for MPW from esh.c.
  1985.     * scripttempl/sh.sc: Reformatted to simplify MPWification,
  1986.     use *() to concat stab sections instead of [].
  1987.  
  1988. Thu Jun 15 08:48:16 1995  Steve Chamberlain  <sac@slash.cygnus.com>
  1989.  
  1990.     * scripttempl/armpe.sc: Add constructor support.
  1991.  
  1992. Tue Jun 13 09:11:20 1995  Steve Chamberlain  <sac@slash.cygnus.com>
  1993.  
  1994.     * ldlang.c (lang_size_sections):  Any section with a DATA
  1995.     statement has contents.
  1996.  
  1997. Sun Jun 11 15:20:46 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  1998.  
  1999.     * emulparams/m68kelf.sh (NOP): Define.
  2000.     (DYNAMIC_LINK): Don't define.
  2001.     (TEXT_START_ADDR): Set to 0x80000000; the extra 0x100 for headers
  2002.     will come from the linker script.
  2003.  
  2004. Thu Jun  8 14:17:33 1995  Steve Chamberlain  <sac@slash.cygnus.com>
  2005.  
  2006.     * emulparams/armpe.sh, scriptempl/armpe.sc: Add end and stack.
  2007.  
  2008. Mon Jun  5 02:16:24 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
  2009.  
  2010.     * configure.in (i[345]86-*-gnu*): Use GNU elf config.
  2011.  
  2012. Thu May 25 11:49:28 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  2013.  
  2014.     From Andrew Cagney <cagney@highland.com.au>
  2015.     * Makefile.in: Fixup more gotchas from renaming elf32ppcle to
  2016.     elf32lppc.
  2017.  
  2018. Wed May 24 11:23:21 1995  Steve Chamberlain  <sac@slash.cygnus.com>
  2019.  
  2020.     Add support for ARM-PE.
  2021.     * Makefile.in (ALL_EMULATIONS): Add armpe.o
  2022.     * configure.in: Recognize armpe.
  2023.     * config/arm-pe.mt: New file.
  2024.     * emulparams/armpe.sh: New file.
  2025.     * scripttempl/armpe.sc: New file.
  2026.  
  2027.  
  2028. Mon May 22 15:19:26 1995  Doug Evans  <dje@chestnut.cygnus.com>
  2029.  
  2030.     * configure.in (h8300h-*-hms): Deleted
  2031.     * config/cf-h8300h.mt: Deleted.
  2032.  
  2033. Thu May 18 04:26:10 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
  2034.  
  2035.     Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
  2036.  
  2037.     From David Taylor (dtaylor@armltd.co.uk)
  2038.     * Makefile.in (ALL_EMULATIONS): Add earmout[lb].o
  2039.     * configure.in: Recognize arm{,e[lb]-*-aout.
  2040.     * config/arm[lb]-aout.mt: New files.
  2041.     * emulparams/armaout[lb].sh: New files.
  2042.     * scripttempl/armaout.sc: New file.
  2043.  
  2044. Tue May 16 18:27:11 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  2045.  
  2046.     * config/ppcle-elf32.mt (EMUL): Use elf32lppc, not elf32ppcle, to
  2047.     be unique in 8 characters for DOS.
  2048.  
  2049.     * emulparams/elf32lppc.sh: New file, renamed from elf32ppcle.sh.
  2050.     * emulparams/elf32ppcle.sh: Deleted.
  2051.  
  2052. Fri May 12 11:03:55 1995  Steve Chamberlain  <sac@slash.cygnus.com>
  2053.               Tom Griest <griest@cs.yale.edu>
  2054.  
  2055.     Initial support for PE executables (eg NT, win32)
  2056.  
  2057.     * Makefile.in (configure.in, ei386pe): Add support.
  2058.     * ldmain.c (main): Initialize PE argument info.
  2059.     * ldwrite.c (print_file_stuff): Don't print out .drectve
  2060.     and .debug section info.
  2061.     * lexsup.c (set_subsystem, set_stack_heap, OPTION_HEAP,
  2062.      OPTION_SUBSYSTEM, parse_argsm set_subsystem, set_stack_heap):
  2063.      Handle new arguments.
  2064.     * config/i386-pe.mt, emultempl/i386pe.em, scripttempl/i386pe.sc:
  2065.     New files
  2066.  
  2067. Wed May 10 18:37:59 1995  Stu Grossman  (grossman@andros.cygnus.com)
  2068.  
  2069.     * scripttempl/hppaelf.sc:  Remove .PARISC.unwind section from text
  2070.     segment.  This allows ld -r to preserve unwind sections.
  2071.  
  2072. Tue May  9 17:19:57 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  2073.  
  2074.     * configure.in: Add little endian PowerPC support.
  2075.  
  2076.     * Makefile.in (ALL_EMULATIONS): Add eelf32ppcle.o.
  2077.     (eelf32ppcle.c): Support for little endian PowerPC.
  2078.  
  2079.     * config/ppcle-elf32.mt: New file for little endian PowerPC.
  2080.     * emulparams/elf32ppcle.sh: Ditto.
  2081.  
  2082. Wed May  3 12:56:32 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2083.  
  2084.     * ldlang.c (print_output_section_statement): Check
  2085.     subsection_alignment, instead of checking section_alignment twice.
  2086.     Noticed by Alan Modra <alan@spri.levels.unisa.edu.au>.
  2087.  
  2088. Tue May  2 16:36:07 1995  Jeff Law  (law@snake.cs.utah.edu)
  2089.  
  2090.     * configure.in (hppa*-*-lites*): Handle like hppa*-*-*elf*.
  2091.  
  2092. Mon Apr 24 19:21:02 1995  Michael Meissner  <meissner@cygnus.com>
  2093.  
  2094.     * ldwrite.c (ldwrite): Before doing anything, reset the error
  2095.     code.  If bfd_final_link returns an error, but the error code is
  2096.     unset, don't issue an extra message.  Assume a correct error
  2097.     message was already set.
  2098.  
  2099. Fri Apr 14 16:31:24 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2100.  
  2101.     * Makefile.in (ALL_EMULATIONS): Added em68kelf.o.
  2102.     (em68kelf.o): New target.
  2103.     * config/m68k-elf.mt, emulparams/m68kelf.sh: New files.
  2104.     * configure.in: Use them for m68*-*-elf.
  2105.  
  2106. Tue Apr 11 12:02:03 1995  Stan Shebs  <shebs@andros.cygnus.com>
  2107.  
  2108.     Merge in support for Mac MPW as a host.
  2109.     (Old change descriptions retained for informational value.)
  2110.  
  2111.     * mpw-config.in (i386-unknown-aout): Change to i386-unknown-go32.
  2112.     (i386-unknown-coff): Remove.
  2113.     (sh-hitachi-hms): New target.
  2114.     (emulation_ofiles): Set correctly for each target.
  2115.     (version, TDEFINES): Add to makefile fragment.
  2116.     * mpw-make.in (BISON): Use byacc instead of bison.
  2117.     (em_*.c): Replace with e*.c everywhere.
  2118.     (ldgram.h): Separate action from ldgram.c generation.
  2119.     (LD_PROG): Depend on Version.r.
  2120.     (Version.r): generate from version info.
  2121.     * mpw-emipsidt.c: New file, modified for MPW from emipsidt.c.
  2122.  
  2123.     * mpw-config.in (m68k-apple-macos, ppc-apple-macos,
  2124.         i386-unknown-aout, i386-unknown-coff): New targets.
  2125.     (m68k-aout, m68k-coff): Remove targets.
  2126.     (mk.tmp): Add definition of EMUL.
  2127.  
  2128.     * mpw-config.in (emulname): Set based on target.
  2129.     (ldemul-list.h): Construct.
  2130.     * mpw-make.in (install-only): New target.
  2131.     (install): Depend on install-only.
  2132.  
  2133.     * mpw-make.in (bindir): Fix pathname.
  2134.     (install): Move here from mpw-build.in.
  2135.  
  2136.     * mpw-config.in: New file, MPW configuration fragment.
  2137.     * mpw-make.in: New file, MPW makefile fragment.
  2138.     (This file is semi-automatically generated from Makefile.in.)
  2139.     * ldfile.c (slash): If MPW, set to `:'.
  2140.     * ldlex.l (TRUE_FALSE_ALREADY_DEFINED): If MPW, set this to
  2141.     prevent redefinition errors.
  2142.  
  2143.  
  2144. Tue Apr  4 17:55:18 1995  Steve Chamberlain  <sac@bang.hack.com>
  2145.  
  2146.     * ldwrite.c (clone_section): Align clone sections on even
  2147.     boundaries.
  2148.  
  2149. Thu Mar 30 14:32:26 1995  H.J. Lu (hjl@nynexst.com)
  2150.  
  2151.     * configure.in: Change linux to default to elf.  Using
  2152.     i[345]86-*-linuxaout will build a linker which defaults to a.out.
  2153.     * config/i386-laout.mt: Rename from old config/i386-linux.mt.
  2154.     * config/i386-linux.mt: Rename from old config/i386-lelf.mt.
  2155.     * config/i386-lelf.mt: Remove.
  2156.  
  2157. Thu Mar 30 13:09:46 1995  Ian Lance Taylor  <ian@cygnus.com>
  2158.  
  2159.     * ldmain.c (main): If opening the map file fails, call
  2160.         bfd_set_error before calling einfo.
  2161.  
  2162.     * ld.texinfo, ld.1: Document the -no-keep-memory option.
  2163.  
  2164. Mon Mar 27 11:10:08 1995  Ian Lance Taylor  <ian@cygnus.com>
  2165.  
  2166.     * ldmain.c (main): Revert patch of March 10, since the SVR4 linker
  2167.     does mark shared libraries as executable.
  2168.  
  2169. Tue Mar 21 15:15:38 1995  Ian Lance Taylor  <ian@cygnus.com>
  2170.  
  2171.     * ldlang.c (lang_common): Change power to int.  Pass larger values
  2172.     before smaller values.
  2173.     (lang_one_common): Treat info as int *.  Don't bother to check for
  2174.     last value, since it is now zero.
  2175.  
  2176. Sat Mar 18 01:49:14 1995  Ian Lance Taylor  <ian@cygnus.com>
  2177.  
  2178.     * ldlang.c (load_symbols): An empty archive is OK.
  2179.  
  2180. Fri Mar 17 16:15:31 1995  Stan Shebs  <shebs@andros.cygnus.com>
  2181.  
  2182.     * ldmain.c (progress.h): Include.
  2183.     (main): Call START_PROGRESS and END_PROGRESS.
  2184.  
  2185. Thu Mar 16 17:17:33 1995  Michael Meissner  <meissner@cygnus.com>
  2186.  
  2187.     * scripttempl/elfppc.sc: Move _GOT2_END_ after the .ctors and
  2188.     .dtors sections, so that these pointers get relocated also.
  2189.     Define the symbols __{C,D}TOR_{LIST,END}__ to mark the beginning
  2190.     and end of the constructors/destructors.
  2191.  
  2192. Thu Mar 16 13:59:14 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  2193.  
  2194.     * ldlang.c (load_symbols): If whole_archive is true and ENTRY
  2195.     describes an archive, call bfd_link_add_symbols on each member.
  2196.     * ldmain.c (whole_archive): New variable.
  2197.     (main): Initialize it to false.
  2198.     * ldmain.h: Declare whole_archive.
  2199.     * lexsup.c (parse_args): Grok --whole-archive switch.
  2200.     * ld.texinfo, ld.1: Document --whole-archive.
  2201.  
  2202. Thu Mar 16 11:38:48 1995  Ian Lance Taylor  <ian@cygnus.com>
  2203.  
  2204.     * genscripts.sh (EMULATION_NAME): Set LIB_PATH to empty when not
  2205.     using the default emulation.
  2206.  
  2207.     * config/dgux.mh (HOSTING_EMU): Use -m rather than trying to set
  2208.     LDEMULATION.
  2209.     * config/hppaelf.mh (HOSTING_EMU): Likewise.
  2210.  
  2211. Tue Mar 14 12:28:03 1995  Ian Lance Taylor  <ian@cygnus.com>
  2212.  
  2213.     * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Set force_maj
  2214.     for -lc.N.  From H.J. Lu <hjl@nynexst.com>.
  2215.  
  2216. Fri Mar 10 14:43:48 1995  Ian Lance Taylor  <ian@cygnus.com>
  2217.  
  2218.     * ldmain.c (main): Don't set EXEC_P if link_info.shared is set.
  2219.  
  2220.     * ldlex.l: Return -lFILENAME as the token LNAME.
  2221.     * ldgram.y: Add token LNAME.
  2222.     (input_list): Treat LNAME like NAME, but pass it to
  2223.     lang_add_input_file as lang_input_file_is_l_enum.
  2224.     * ld.texinfo: Document using -lFILENAME in INPUT.
  2225.  
  2226. Thu Mar  9 12:21:51 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  2227.  
  2228.     * ldlang.c (lang_check): If the architectures are compatible call
  2229.     bfd_merge_private_bfd_data to let the backend do additional
  2230.     checks.
  2231.  
  2232.  
  2233. Tue Mar  7 00:53:08 1995  Ian Lance Taylor  <ian@cygnus.com>
  2234.  
  2235.     * ldemul.c (ldemul_choose_mode): If emulation not recognized, list
  2236.     all supported emulations.
  2237.  
  2238. Mon Mar  6 14:03:50 1995  Ian Lance Taylor  <ian@cygnus.com>
  2239.  
  2240.     * ldemul.c (ldemul_list_emulations): New function.
  2241.     * ldemul.h (ldemul_list_emulations): Declare.
  2242.     * ldver.c (help): List supported targets and emulations.
  2243.  
  2244. Fri Mar  3 15:40:36 1995  Doug Evans  <dje@canuck.cygnus.com>
  2245.  
  2246.     * scripttempl/elf.sc (.debug): Relocate to address 0.
  2247.     (.debug_srcinfo, .debug_aranges, .debug_pubnames,
  2248.     .debug_sfnames, .line): Likewise.
  2249.  
  2250. Fri Mar  3 17:07:14 1995  Ian Lance Taylor  <ian@cygnus.com>
  2251.  
  2252.     * emultempl/elf32.em (hold_rel): New static variable.
  2253.     (gld${EMULATION_NAME}_place_orphan): Place readonly sections with
  2254.     contents whose names begin with ".rel" after hold_rel.  Remove the
  2255.     assertion which checked for unplaced .rel sections.  Don't try to
  2256.     sort the section into place if place->bfd_section is NULL.
  2257.     (gld${EMULATION_NAME}_place_section): Set hold_rel to the first
  2258.     section beginning with ".rel".
  2259.  
  2260. Thu Mar  2 14:34:43 1995  Ian Lance Taylor  <ian@cygnus.com>
  2261.  
  2262.     Doc note from pierre@phi.la.tce.com (Pierre Willard):
  2263.     * ld.texinfo: -X and -x work even if -s or -S are not specified.
  2264.     * ld.1: Similar change. 
  2265.  
  2266. Wed Mar  1 13:51:16 1995  Ian Lance Taylor  <ian@cygnus.com>
  2267.  
  2268.     * emulparams/gld960coff.sh (COFF_CTORS): Define.
  2269.     * scripttempl/i960.sc: Use COFF_CTORS if CONSTRUCTING.
  2270.  
  2271. Tue Feb 28 12:42:56 1995  Ian Lance Taylor  <ian@cygnus.com>
  2272.  
  2273.     * configure.in (i[345]86-*-linuxelf*): New target.  Use i386-lelf.
  2274.     (i[345]86-*-gnuelf*): New target.  Use i386-gelf.
  2275.     * config/i386-lelf.mt: New file.
  2276.     * config/i386-gelf.mt: New file.
  2277.  
  2278. Tue Feb 28 10:27:54 1995  Rob Savoye  <rob@darkstar.cygnus.com>
  2279.  
  2280.     * configure.in: Match on mips-ecoff, and default to the IDT
  2281.     configuration.
  2282.  
  2283. Fri Feb 17 13:06:47 1995  Michael Meissner  <meissner@cygnus.com>
  2284.  
  2285.     * scripttempl/elfppc.sc: Add support for .got1 and .got2 sections.
  2286.     Offset _GLOBAL_OFFSET_TABLE_ 32768 from the start of the GOT area
  2287.     to double the size of the table.
  2288.  
  2289.  
  2290. Thu Feb  9 18:29:43 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2291.  
  2292.     * Makefile.in (distclean): Do recursive deletion, since ldscripts
  2293.     is a directory.
  2294.  
  2295. Thu Feb  9 11:38:22 1995  Ian Lance Taylor  <ian@cygnus.com>
  2296.  
  2297.     * ldmain.c (main): If trace_file_tries is true, and we are using
  2298.     an internal linker script, print out the script.
  2299.     * ldfile.c (try_open): Reindent function.  Make the messages about
  2300.     opening script files more informative.
  2301.  
  2302.     * lexsup.c (parse_args): For -V, call ldversion with 1, not 0.
  2303.     * ld.texinfo, ld.1: Update accordingly.
  2304.  
  2305. Wed Feb  8 17:34:45 1995  Ian Lance Taylor  <ian@cygnus.com>
  2306.  
  2307.     * ldlang.c (lang_one_common): Adjust references to common symbol
  2308.     information for new structure.
  2309.  
  2310. Mon Feb  6 12:17:24 1995  Ian Lance Taylor  <ian@cygnus.com>
  2311.  
  2312.     * ldmain.c (undefined_symbol): Handle section being NULL.
  2313.  
  2314.     * ldctor.c (ldctor_build_sets): Handle bfd_link_hash_defweak.
  2315.     * ldexp.c (fold_name): Likewise.
  2316.     * ldlang.c (print_one_symbol): Likewise.
  2317.     (lang_finish): Likewise.
  2318.     * ldmain.c (multiple_common): Likewise.
  2319.     * ldwrite.c (print_symbol): Likewise.  Also, bfd_link_hash_weak
  2320.     renamed to bfd_link_hash_undefweak.
  2321.  
  2322.     * scripttempl/alpha.sc: Set address of .data section correctly
  2323.     when -n or -N is used.  Patch from Chris G Demetriou
  2324.     <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>.
  2325.     * scripttempl/mips.sc: Similar change.
  2326.  
  2327. Tue Jan 31 16:20:52 1995  Doug Evans  <dje@canuck.cygnus.com>
  2328.  
  2329.     * ldlang.c (lang_size_sections): Clarify error message when user
  2330.     specified start addr conflicts with region.  Fix resetting of
  2331.     region pointer.
  2332.  
  2333. Tue Jan 31 12:37:09 1995  Ian Lance Taylor  <ian@cygnus.com>
  2334.  
  2335.     * ldexp.c (fold_name): In case NAME, permit an absolute symbol
  2336.     in lang_allocating_phase_enum.
  2337.  
  2338. Mon Jan 30 11:33:25 1995  Ian Lance Taylor  <ian@cygnus.com>
  2339.  
  2340.     * Makefile.in (distclean): Depend upon clean.  Don't bother to
  2341.     remove files which will be removed by clean.  From patch by
  2342.     alan@SPRI.Levels.UniSA.Edu.Au (Alan Modra).
  2343.  
  2344. Fri Jan 27 16:27:34 1995  Ian Lance Taylor  <ian@cygnus.com>
  2345.  
  2346.     * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): For
  2347.     a MIPS target, clobber the size of all but the first input
  2348.     .reginfo section to be 0, so that lang_size_sections sets the
  2349.     correct size for the output .reginfo section.
  2350.  
  2351. Thu Jan 26 19:53:37 1995  Ian Lance Taylor  <ian@cygnus.com>
  2352.  
  2353.     * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
  2354.     Remove unused variable is.
  2355.  
  2356. Thu Jan 26 12:33:05 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  2357.  
  2358.     * configure.in: Add support for powerpc-*-eabi.
  2359.  
  2360.     * scripttempl/elfppc.sc: New file for PowerPC embedded ABI
  2361.     support.
  2362.  
  2363.     * emulparams/elf32ppc.sh (SCRIPT_NAME): Use elfppc.sc instead of
  2364.     elf.sc, which defines some new symbols PowerPC elf needs.
  2365.  
  2366. Tue Jan 24 10:32:15 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  2367.  
  2368.     * ldctor.c (ldctor_add_set_entry): Don't dump core if a
  2369.     constructor entry is in the absolute section.
  2370.  
  2371. Mon Jan 23 13:58:13 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  2372.  
  2373.     * configure.in (i[345]86-*-gnu*): Set ld_target to i386-gnu.
  2374.     * config/i386-gnu.mt: New file.  Include ELF support.
  2375.  
  2376. Thu Jan 19 16:22:11 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  2377.  
  2378.     * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): If
  2379.     there are any input sections named .gnu.warning, treat them as
  2380.     containing a warning message to be printed by the linker, and
  2381.     clobber the size so that the message is not copied into the output
  2382.     file.
  2383.     * scripttempl/elf.sc: Put .gnu.warning sections into the .text
  2384.     section.
  2385.  
  2386. Sun Jan 15 16:45:00 1995  Steve Chamberlain  <sac@splat>
  2387.  
  2388.     * configure.in (w65-*-*): New target.
  2389.     * Makefile.in: Update.
  2390.     * scripttempl/w65.sc: New.
  2391.     * config/coff-w65.mt: New.
  2392.  
  2393. Thu Jan 12 01:32:25 1995  Ian Lance Taylor  <ian@tweedledumb.cygnus.com>
  2394.  
  2395.     * ldlang.c (lang_place_orphans): Don't ignore files with
  2396.     just_syms_flag set.  Instead, put all their sections in
  2397.     bfd_abs_section_ptr, using the section VMA as the output_offset.
  2398.  
  2399. Wed Jan 11 22:59:09 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2400.  
  2401.     * ldctor.c (ldctor_build_sets): Don't use `const' with typedef
  2402.     name `reloc_howto_type', since it's now defined to be const.
  2403.     * ldlang.c (lang_add_reloc): Ditto.
  2404.     * ldlang.h (lang_reloc_statement_type, lang_add_reloc): Ditto.
  2405.  
  2406. Wed Jan 11 11:24:45 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  2407.  
  2408.     * ldexp.c (fold_binary): Adding or subtracting an absolute value
  2409.     to a relative value does not require forcing the relative value to
  2410.     be absolute.  Also, reindent function.
  2411.  
  2412. Wed Dec 28 22:05:52 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
  2413.  
  2414.     * ldwrite.c (clone_section): Create a symbol with the
  2415.     same name as the section.
  2416.  
  2417. Mon Dec 19 14:02:13 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
  2418.  
  2419.     * ld.h (split_by_reloc, split_by_file): New flags.
  2420.     * ldwrite.c  (clone_section, split_sections): New functions.
  2421.     * lexsup.c (parse_args): Understand new split options.
  2422.  
  2423.  
  2424. Fri Dec  9 17:22:55 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  2425.  
  2426.     * scripttempl/elf.sc: Move .ctors and .dtors from .text segment to
  2427.     .data segment.  They must be writable when creating a shared
  2428.     library.  From H.J. Lu <hjl@nynexst.com>.
  2429.  
  2430. Fri Dec  2 14:09:00 1994  Ian Lance Taylor  <ian@rtl.cygnus.com>
  2431.  
  2432.     * emultempl/miposecoff.em: New file.
  2433.     * emulparams/mipsidt.sh (TEMPLATE_NAME): Set to mipsecoff.
  2434.     * emulparams/mipsidtl.sh (TEMPLATE_NAME): Likewise.
  2435.     * scripttempl/mips.sc: Put .rel.sdata sections in .text, and
  2436.     provide __runtime_reloc_start and __runtime_reloc_stop if they are
  2437.     used.   Align _fdata to a 16 byte boundary.
  2438.     * Makefile.in (emipsidt.c): Depend upon mipsecoff.em rather than
  2439.     generic.em.
  2440.     (emipsidtl.c): Likewise.
  2441.     (check): Pass CC_FOR_HOST and CFLAGS_FOR_HOST to runtest.
  2442.  
  2443.     * ld.h (args_type): Add new field embedded_relocs.
  2444.     * ldemul.h (ldemul_after_open, after_open_default): Declare.
  2445.     (ld_emulation_xfer_struct): Add new field after_open.
  2446.     * ldemul.c (ldemul_after_open): New function.
  2447.     (after_open_default): New function.
  2448.     * ldlang.c (lang_process): Call ldemul_after_open.
  2449.     * lexsup.c (parse_args): Handle --embedded-relocs.
  2450.     * emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Initialize
  2451.     new after_open field to after_open_default.
  2452.     * emultempl/generic.em, emultempl/gld960.em: Likewise.
  2453.     * emultempl/gld960c.em, emultempl/hppaelf.em: Likewise.
  2454.     * emultempl/linux.em, emultempl/m88kbcs.em: Likewise.
  2455.     * emultempl/sunos.em, emultempl/vanilla.em: Likewise.
  2456.     * ld.texinfo, ld.1: Mention -embedded-relocs.
  2457.  
  2458. Wed Nov 23 22:04:47 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
  2459.  
  2460.     * Makefile.in: Add eshl.o.
  2461.     * config/coff-sh.mt: Add shl emulation.
  2462.  
  2463. Tue Nov 22 11:55:37 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  2464.  
  2465.     * scripttempl/elf.sc: Fill .text section with NOPS.  From Eric
  2466.     Youngdale <eric@aib.com>.
  2467.  
  2468. Thu Nov 17 14:39:48 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  2469.  
  2470.     Patches from pirker@eiunix.tuwien.ac.at (Martin Pirker).
  2471.     * config/i386linux.mh: New file; set HOSTING_CRT0.
  2472.     * genscripts.sh: Don't put ${libdir} in LIB_PATH if it is
  2473.     /usr/lib, since that is already in LIB_PATH.
  2474.  
  2475. Wed Nov 16 10:03:03 1994  Jeff Law  (law@snake.cs.utah.edu)
  2476.  
  2477.     * scripttempl/hppaelf.sc (.text): Handle a use rdefined text start
  2478.     address.
  2479.     (.data, .bss): If "-N", then place the data/bss just after the end
  2480.     of the .text section rather than at the default 0x40000000.
  2481.  
  2482.     * scripttempl/hppaelf.sc (.text): Place unwind descriptors in the
  2483.     text segment.
  2484.  
  2485. Sat Nov 12 15:55:56 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  2486.  
  2487.     Patches from Eric Youngdale <eric@aib.com>:
  2488.     * ldlang.c (lang_finish): Don't warn if entry symbol not found
  2489.     when generating a shared library.
  2490.     * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Warn if
  2491.     attempting to place an orphaned relocation section when generating
  2492.     a dynamically linked object.
  2493.  
  2494.     * scripttempl/elf.sc: Add ENTRY(${ENTRY}), and default ${ENTRY} to
  2495.     _start.
  2496.  
  2497. Fri Nov 11 14:27:23 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  2498.  
  2499.     * ld.h (args_type): Add field export_dynamic.
  2500.     * lexsup.c (parse_args): Recognize --export-dynamic.
  2501.     * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
  2502.     Pass export_dynamic argument to bfd_elf32_size_dynamic_sections.
  2503.  
  2504. Wed Nov  9 12:47:11 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  2505.  
  2506.     * ldlang.c (lang_one_common): Set SEC_ALLOC in any section where
  2507.     we allocate common symbols.
  2508.  
  2509. Tue Nov  8 17:50:43 1994  Eric Youngdale  (eric@aib.com)
  2510.  
  2511.     * scripttempl/elf.sc: Add .rel.init, .rela.init, .rel.fini, and
  2512.     .rela.fini to the list of .rel* sections.
  2513.  
  2514. Tue Nov  8 17:47:45 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  2515.  
  2516.     * ldlang.c (load_symbols): Add new argument place.  Only accept
  2517.     linker scripts if place is not NULL.  Put commands found in an
  2518.     assumed linker script into place.
  2519.     (lookup_name): Pass NULL as place argument to load_symbols.
  2520.     (open_input_bfds): In lang_input_statement_enum case, pass a place
  2521.     argument to load_symbols, and store any new statements after the
  2522.     current one.
  2523.  
  2524. Mon Nov  7 15:53:02 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2525.  
  2526.     * ldver.c (ldversion): Bump to 2.5.3.
  2527.  
  2528. Fri Nov  4 15:11:26 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2529.  
  2530.     * Makefile.in (e*nbsd.c): Fix typo in dependencies.
  2531.  
  2532. Thu Nov  3 19:35:44 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2533.  
  2534.     * Makefile.in (check): Add missing "else true" clause.
  2535.  
  2536.     * emulparams/vax.sh (OUTPUT_FORMAT): Use "a.out".
  2537.  
  2538.     * scripttempl/go32coff.sc: Changes from DJ Delorie: Change default
  2539.     entry point to "start".  Align at end of each section to 0x200.
  2540.     Start .text section 0x1000 later.  Add _etext, _edata, _end
  2541.     symbols.
  2542.  
  2543. Wed Nov  2 12:17:49 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  2544.  
  2545.     * ldctor.c (ldctor_add_set_entry): Don't permit a set to be
  2546.     composed of different object file formats.
  2547.     (ldctor_build_sets): If the output format does not support the
  2548.     reloc, and we are not generating a relocateable link, try getting
  2549.     the reloc from the input format.
  2550.  
  2551. Tue Nov  1 10:30:19 1994  J.T. Conklin  (jtc@rtl.cygnus.com)
  2552.  
  2553.     * Makefile.in (ALL_EMULATIONS): Added em68knbsd.o.
  2554.       (em68knbsd.c): New target.
  2555.  
  2556.     * config/m68k-nbsd.mt: New file.
  2557.     * emulparams/m68knbsd.sh: New file.
  2558.     * configure.in (m68*-*-netbsd*): Use above configs.
  2559.  
  2560. Mon Oct 31 19:35:17 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  2561.  
  2562.     * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): If we find an
  2563.     appropriately named static library, stop the search at that
  2564.     directory.
  2565.  
  2566. Wed Oct 26 13:59:12 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
  2567.  
  2568.     * Makefile.in (ALL_EMULATIONS): Added ei386nbsd.o, ens32knbsd.o 
  2569.       and esparcnbsd.o; sorted entries.
  2570.           (ei386nbsd.c,ens32knbsd.c,esparcnbsd.c): New targets.
  2571.  
  2572.     * config/netbsd532.mt: Removed.
  2573.     * emulparams/netbsd532.sh: Removed.
  2574.  
  2575.     * config/{i386-nbsd.mt,ns32k-nbsd.mt,sparc-nbsd.mt}: New files.
  2576.     * emulparams/{i386nbsd.sh,ns32knbsd.sh,sparcnbsd.sh}: New files.
  2577.     * configure.in (i[345]86-*-netbsd*, ns32k-pc532-netbsd*, 
  2578.       sparc*-*-netbsd*): Use above configs.
  2579.  
  2580. Tue Oct 25 11:47:10 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  2581.  
  2582.     * ldmain.c (multiple_common): One of the types may now be
  2583.     bfd_link_hash_indirect.  The old BFD argument may be NULL.
  2584.  
  2585. Thu Oct 20 22:01:39 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  2586.  
  2587.     * configure.in: Add * at the end of m68k-hp-hpux.
  2588.  
  2589. Tue Oct 18 15:58:39 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  2590.  
  2591.     * ldlex.l: Cast assignment to yy_ch_buf field to char *, not to
  2592.     YY_CHAR *.
  2593.  
  2594. Mon Oct 17 14:53:16 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
  2595.  
  2596.     * scripttempl/nw.sc: Gather constructors and destructors and
  2597.       define __CTOR__LIST__ and __DTOR_LIST__ appropriately.
  2598.  
  2599. Fri Oct 14 14:35:38 1994  J.T. Conklin  (jtc@rtl.cygnus.com)
  2600.  
  2601.     * Makefile.in (ALL_EMULATIONS): Add ei386nw.o and eppcnw.o.
  2602.       (ei386nw.c, eppcnw.c): New targets.
  2603.  
  2604.     * config/{i386,ppc}-nw.mt, emulparams/{i386,ppc}nw.sh,
  2605.       scripttempl/nw.sc: New files, for i386 and powerpc netware.
  2606.       
  2607.     * configure.in: Changed netware ld_target name to be {i386,ppc}-nw
  2608.       instead of {i386,ppc}-elf.
  2609.  
  2610.      * configure.in (sparc*-*-netware): Removed.  There is no such
  2611.       thing anymore.
  2612.  
  2613.     * ldint.texinfo: Move misplaced `@end iftex'.
  2614.  
  2615. Fri Oct 14 12:02:18 1994  Eric Youngdale  (eric@aib.com)
  2616.  
  2617.     * scripttempl/elf.sc: Add .rel.ctors, .rela.ctors, .rel.dtors, and
  2618.     .rela.dtors to the list of .rel* sections.
  2619.  
  2620. Thu Oct 13 14:16:27 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2621.  
  2622.     * ldver.c (ldversion): Update to version 2.5.
  2623.     * Version 2.5 released.
  2624.  
  2625.     * configure.in (all_targets): Handle i386-linux*.
  2626.  
  2627. Thu Oct 13 11:24:33 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  2628.  
  2629.     * scripttempl/aout.sc: Set _etext and __etext to ., not
  2630.     ${DATA_ALIGNMENT}.  This is compatible with SunOS, and, with luck,
  2631.     will not break any other system.  From Eric Valette
  2632.     <ev@chorus.fr>.
  2633.  
  2634. Wed Oct 12 16:22:58 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  2635.  
  2636.     * lexsup.c (parse_args): Change -V to be a synonym for -v.  Add
  2637.     --verbose to get the old -V behaviour.
  2638.     * ld.1, ld.texinfo: Document this change.
  2639.  
  2640. Tue Sep 27 14:56:20 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  2641.  
  2642.     * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
  2643.     assertion, since it could fail with a user defined linker script.
  2644.  
  2645.     * ldexp.c (fold_name): For DEFINED case, don't try to look up the
  2646.     name in the hash table during the first phase--the hash table does
  2647.     not even exist at that point, much less have the right value.
  2648.  
  2649.     * Makefile.in (CC): Define.
  2650.     (CXX): Move definition, change from g++ to gcc.
  2651.     (EXPECT, RUNTEST): Copy definitions from top level Makefile.in.
  2652.     (RUNTEST_CC, RUNTEST_CFLAGS): Remove.
  2653.     (RUNTEST_CXX, RUNTEST_CXXFLAGS): Remove.
  2654.     (CC_FOR_TARGET, CXX_FOR_TARGET): Copy from top level Makefile.in.
  2655.     (.cc.o): Comment out.
  2656.     (testdir): Remove.
  2657.     (site.exp): Don't create testdir or set tmpdir.
  2658.     (check): Run checks even if not running native.  Use CC_FOR_TARGET
  2659.     instead of RUNTEST_CC, and likewise for CXX.
  2660.     (cdtest targets): Comment out.
  2661.     * config/solaris2.mh (HOSTING_LIBS): Only mention crtend.o once.
  2662.     * cdtest-bar.cc, cdtest-foo.cc, cdtest-foo.h: Remove.
  2663.     * cdtest-main.cc, cdtest.exp: Remove.
  2664.  
  2665. Mon Sep 26 11:40:30 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  2666.  
  2667.     * emulparams/elf32bmip.sh: Rename from elf32mipb.sh to avoid DOS
  2668.     file naming problems.
  2669.     * emulparams/elf32lmip.sh: Rename from elf32mipl.sh.
  2670.     * Makefile.in (ALL_EMULATIONS): Rename eelf32mipb.o to
  2671.     eelf32bmip.o and eelf32mipl.o to eelf32lmip.o.
  2672.     (eelf32bmip.c): Rename from eelf32mipb.c.  Use elf32bmip.sh.
  2673.     (eelf32lmip.c): Rename from eelf32mipl.c.  Use elf32lmip.sh.
  2674.     * config/mipsb-elf32.mt (EMUL): Use elf32bmip, not elf32mipb.
  2675.     * config/mipsl-elf32.mt (EMUL): Use elf32lmip, not elf32mipl.
  2676.  
  2677.     * genscripts.sh: Always search /usr/local/TARGET/lib.
  2678.  
  2679.     * scripttempl/elf.sc: If -N is set, force DATA_ADDR to be ".".
  2680.  
  2681. Fri Sep 23 15:05:49 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2682.  
  2683.     * configure.in: Handle i386-bsdi* targets like i386-bsd.
  2684.  
  2685. Fri Sep 23 00:06:59 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  2686.  
  2687.     * lexsup.c (parse_args): Add support for -a for HP/UX
  2688.     compatibility.
  2689.  
  2690.     * lexsup.c (parse_args): -c takes an argument.
  2691.  
  2692. Tue Sep 20 14:35:27 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  2693.  
  2694.     * ld.h (args_type): Add new field endian.
  2695.     * lexsup.c (parse_args): Handle -EB and -EL by setting
  2696.     command_line.endian.
  2697.     * ldgram.y (ifile_p1): Accept OUTPUT_FORMAT with three arguments.
  2698.     * ldlang.c (lang_add_output_format): Add arguments big and little.
  2699.     If command_line.endian is set, use it to select big or little
  2700.     rather than the default.  Changed all callers.
  2701.     * ldlang.h (lang_add_output_format): Update declaration.
  2702.     * emulparams/elf32mipb.sh: Define BIG_OUTPUT_FORMAT and
  2703.     LITTLE_OUTPUT_FORMAT.
  2704.     * emulparams/elf32mipl.sh: Likewise.
  2705.     * emulparams/mipsbig.sh: Likewise.
  2706.     * emulparams/mipsbsd.sh: Likewise.
  2707.     * emulparams/mipsidt.sh: Likewise.
  2708.     * emulparams/mipsidtl.sh: Likewise.
  2709.     * emulparams/mipslit.sh: Likewise.
  2710.     * scripttempl/elf.sc: Define BIG_OUTPUT_FORMAT and
  2711.     LITTLE_OUTPUT_FORMAT if not already defined.  Pass them to
  2712.     OUTPUT_FORMAT.
  2713.     * scripttempl/mips.sc: Pass BIG_OUTPUT_FORMAT and
  2714.     LITTLE_OUTPUT_FORMAT to OUTPUT_FORMAT.
  2715.     * scripttempl/mipsbsd.sc: Likewise.
  2716.  
  2717.     * Makefile.in (ldgram.h): Make separate target from ldgram.c,
  2718.     depending upon ldgram.c, so that a parallel make does not try to
  2719.     build both at once.
  2720.  
  2721.     * configure.in (mips*el-elf*): New target.
  2722.     * Makefile.in (ALL_EMULATIONS): Add eelf32mipb.o and eelf32mipl.o.
  2723.     (eelf32mipl.c): New target.
  2724.  
  2725.     * config/mipsl-elf32.mt: New file.
  2726.     * emulparams/elf32mipl.sh: New file.
  2727.  
  2728. Fri Sep 16 12:16:20 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  2729.  
  2730.     * ldmain.c (main): Rather than prohibiting ld -r -s, treat it as
  2731.     ld -r -S -x.
  2732.  
  2733. Thu Sep 15 13:05:44 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  2734.  
  2735.     * ldmisc.c (vfinfo): Print BFD file name as well as file name
  2736.     returned by find_nearest_line, in case the file name is something
  2737.     unhelpful such as a .h file.  Handle %u.
  2738.  
  2739. Wed Sep 14 12:49:12 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
  2740.  
  2741.     * ldlang.c (lang_do_assignments): Make sure output statement
  2742.     has an attached bfd_section before trying to dereference it.
  2743.  
  2744. Wed Sep 14 12:48:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  2745.  
  2746.     * ld.h (ld_config_type): Add new field warn_once.
  2747.     * ldmain.c (undefined_symbol): Handle -warn-once.
  2748.     * lexsup.c (parse_args): Recognize -warn-once.
  2749.     * ld.texinfo (Options): Document -warn-once.
  2750.     * ld.1: Likewise.
  2751.  
  2752.     * ldmisc.c (vfinfo): Handle %D as %C, but never print the function
  2753.     name.  For %C, print the function name on a separate line, to keep
  2754.     the length of error messages under control.
  2755.     * ldmain.c (multiple_definition): Use %D for ``first defined
  2756.     here.''
  2757.     (undefined_symbol): Use %D for ``more undefined references
  2758.     follow''.
  2759.  
  2760.     * ldmisc.c (multiple_warn): Remove; no longer used.
  2761.     * ldmisc.h (multiple_warn): Don't declare.
  2762.  
  2763. Tue Sep 13 20:47:58 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
  2764.  
  2765.     * ldlang.c (print_output_section_statement): Print all lines
  2766.     to the map file.
  2767.  
  2768. Tue Sep 13 16:30:11 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  2769.  
  2770.     * ldlang.c (load_symbols): Check for archive before object.  Use
  2771.     bfd_check_format_matches, and, if ambiguous, print a list of
  2772.     matching formats.  If file format is not recognized, treat file as
  2773.     a linker script.
  2774.     * ldgram.y (yyerror): If assuming an object file is a script,
  2775.     mention that.  Tweak the format of the error messages.
  2776.     * ldlex.l (lex_warn_invalid): If assuming an object is a script,
  2777.     guess that this is not actually a script, and just report that the
  2778.     file format was not recognized.
  2779.     * ld.texinfo (Options): Admit that -( may be used more than once.
  2780.     Add note that unrecognized object files are now treated as linker
  2781.     scripts.
  2782.  
  2783.     * ldfile.c (ldfile_input_filename): Make const.
  2784.     (ldfile_assumed_script): New variable.
  2785.     (try_open): Change arguments types to const.
  2786.     (ldfile_find_command_file): Likewise.
  2787.     (ldfile_open_command_file): Likewise.  Also, set lineno to 1.
  2788.     * ldfile.h: Update declarations for ldfile.c changes.
  2789.     * ldlex.l: Include <ctype.h>.
  2790.     (file_name_stack): Change to be const char *.
  2791.     (lineno_stack): New static variable.
  2792.     (<<EOF>>): Set lineno as well as ldfile_input_filename.
  2793.     (lex_push_file): Make name argument const.  Initialize
  2794.     lineno_stack entry.
  2795.     (lex_redirect): Initialize lineno_stack entry.
  2796.     (lex_warn_invalid): Handle non printable characters nicely.
  2797.     * ldlex.h (lex_push_file): Declare second argument as const.
  2798.  
  2799.     * ldgram.y (ifile_p1): Recognize GROUP.
  2800.     * ldlex.l: Recognize GROUP.
  2801.     * ld.texinfo (Option Commands): Document GROUP.
  2802.  
  2803. Mon Sep 12 17:04:27 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  2804.  
  2805.     * config/m68klynx.mh: New file.
  2806.  
  2807. Mon Sep 12 01:50:03 1994  Jeff Law  (law@snake.cs.utah.edu)
  2808.  
  2809.     * emultempl/hppaelf.em: Add newlines to the error messages.
  2810.  
  2811. Sat Sep 10 16:05:38 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  2812.  
  2813.     * config/i386lynx.mh: New file.
  2814.     * scripttempl/i386lynx.sc: Don't put .ctors and .dtors in .text
  2815.     unless CONSTRUCTING.
  2816.  
  2817. Thu Sep  8 13:25:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  2818.  
  2819.     * emulparams/elf32mipb.sh (TEMPLATE_NAME): Define as elf32.
  2820.     (GENERATE_SHLIB_SCRIPT): Define as yes.
  2821.     (DYNAMIC_LINK): Define as false.
  2822.     * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
  2823.     Initialize config.dynamic_link to DYNAMIC_LINK if it is defined.
  2824.     (gld${EMULATION_NAME}_place_orphan): Reset stat_ptr at end.
  2825.     * Makefile.in (eelf32mipb.c): Depend upon elf32.em rather than
  2826.     generic.em.
  2827.  
  2828. Thu Sep  8 16:30:37 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
  2829.  
  2830.         * scripttempl/h8500b.sc: Put rdata stuff into own segment.
  2831.  
  2832. Thu Sep  8 13:25:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  2833.  
  2834.     * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Don't define;
  2835.     .got section is now explicitly handled in elf.sc.
  2836.  
  2837. Wed Sep  7 13:08:34 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  2838.  
  2839.     * scripttempl/alpha.sc: Redo script to set . outside of sections
  2840.     and not bother to explicitly specify section addresses.
  2841.     Explicitly place .sdata section.
  2842.  
  2843. Tue Sep  6 23:51:45 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  2844.  
  2845.     * scripttempl/m68kcoff.sc: Put .bss in data segment.
  2846.  
  2847.     * scripttempl/h8300.sc: Change .stab and .stabstr to use a VMA of
  2848.     0, and to only be marked as NOLOAD if relocating.
  2849.     * scripttempl/h8500.sc, scripttempl/h8500b.sc: Likewise.
  2850.     * scripttempl/h8500c.sc, scripttempl/h8500m.sc: Likewise.
  2851.     * scripttempl/h8500s.sc, scripttempl/i386coff.sc: Likewise.
  2852.     * scripttempl/i386go32.sc, scripttempl/i386lynx.sc: Likewise.
  2853.     * scripttempl/m68kcoff.sc, scripttempl/m68klynx.sc: Likewise.
  2854.     * scripttempl/sh.sc, scripttempl/sparccoff.sc: Likewise.
  2855.     * scripttempl/sparclynx.sc: Likewise.
  2856.  
  2857. Sun Sep 04 17:58:10 1994  Richard Earnshaw (rwe@pegasus.esprit.ec.org)
  2858.  
  2859.     * Makefile.in, configure.in: Add support (disabled) the ARM/RISCiX.
  2860.     * config/riscix.mt, emulparams/riscix.sh, scripttempl/riscix.sc:
  2861.     New files.
  2862.  
  2863. Tue Aug 30 11:48:08 1994  Eric Youngdale  (ericy@cais.cais.com)
  2864.  
  2865.     * ld.h (args_type): Add field soname.
  2866.     * lexsup.c (parse_args): Handle -soname argument.
  2867.     * emultempl/elf32.em: In call to bfd_elf32_size_dynamic_sections,
  2868.     pass soname.
  2869.     * ld.texinfo: Document -soname.
  2870.  
  2871. Mon Aug 29 15:21:50 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  2872.  
  2873.     * ldlang.c (lang_check): Don't try to set the architecture if the
  2874.     input and output files are incompatible.  Just warn.
  2875.  
  2876. Wed Aug 24 12:52:30 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  2877.  
  2878.     * configure.in: Change i[34]86 to i[345]86.
  2879.  
  2880. Sun Aug 21 16:17:19 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  2881.  
  2882.     * emulparams/hp3hpux.sh: Define __DYNAMIC to be 0.
  2883.  
  2884. Thu Aug 18 15:37:45 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  2885.  
  2886.     Make the ELF linker handle orphaned sections reasonably.  Also,
  2887.     define __start_SECNAME and __stop_SECNAME around sections whose
  2888.     names can be represented in C, for the benefit of symbol sets in
  2889.     glibc.
  2890.     * ldemul.h (ldemul_place_orphan): Declare.
  2891.     (ld_emulation_xfer_type): Add place_orphan field.
  2892.     * ldemul.c (ldemul_place_orphan): New function.
  2893.     * ldlang.h (wild_doit): Declare.
  2894.     * ldlang.c (wild_doit): Make nonstatic.
  2895.     (lang_place_orphans): Call ldemul_place_orphan.
  2896.     * emultempl/elf32.em: Include <ctype.h> and "ldgram.h".
  2897.     (hold_section, hold_use, hold_text, hold_data, hold_bss): New
  2898.     static variables.
  2899.     (gld${EMULATION_NAME}_place_orphan): New static function.
  2900.     (gld${EMULATION_NAME}_place_section): New static function.
  2901.     (ld_${EMULATION_NAME}_emulation): Initialize place_orphan field.
  2902.  
  2903. Tue Aug 16 00:17:20 1994  Eric Youngdale  (ericy@cais.cais.com)
  2904.  
  2905.     * scripttempl/aout.sc: Add .linux-dynamic after .data.
  2906.  
  2907. Tue Aug 16 00:08:22 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  2908.  
  2909.     * lexsup.c (parse_args) Treat --dll-verbose as --version, for
  2910.     Linux compatibility.  From hjl@nynexst.com (H.J. Lu).
  2911.  
  2912. Mon Aug 15 17:17:33 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  2913.  
  2914.     * ldexp.h (exp_get_abs_int): Declare.
  2915.  
  2916. Sat Aug  6 01:45:39 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
  2917.  
  2918.     * ldlang.c (lang_do_assignments):  Handle complex AT's better.
  2919.     * ldexp.c (exp_get_abs_int):  New function.
  2920.  
  2921. Fri Aug  5 20:55:55 1994  Jason Molenda (crash@phydeaux.cygnus.com)
  2922.  
  2923.     * configure.in: add i960-nindy-coff support.
  2924.  
  2925. Thu Aug  4 14:45:50 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  2926.  
  2927.     * ldlex.l (yy_create_string_buffer): Handle change to internal
  2928.     interface in flex 2.4.7.
  2929.  
  2930. Tue Aug  2 11:52:06 1994  Eric Youngdale  (ericy@cais.cais.com)
  2931.  
  2932.     * emultempl/linux.em (gld${EMULATION_NAME}_find_address_statement):
  2933.     New function; add 0x20 to any use of -Ttext.
  2934.     (gld${EMULATION_NAME}_create_output_section_statements): New
  2935.     function.
  2936.     (ld_${EMULATION_NAME}_emulation): Use the new function
  2937.     gld${EMULATION_NAME}_create_output_section_statements.
  2938.  
  2939. Mon Aug  1 15:50:44 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  2940.  
  2941.     * scripttempl/mips.sc: Redo script to set . outside of sections
  2942.     and not bother to explicitly specify section addresses.
  2943.  
  2944. Tue Jul 26 11:02:35 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  2945.  
  2946.     * scripttempl/elf.sc: Copy several more relocation sections into
  2947.     the output.  Put .got.plt sections into .got.
  2948.  
  2949. Fri Jul 22 12:15:36 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  2950.  
  2951.     * scripttempl/elf.sc: Use PROVIDE to define etext, edata, and end.
  2952.  
  2953.     Add a new script operator, PROVIDE, to define a symbol only if it
  2954.     is needed.
  2955.     * ldgram.y (PROVIDE): New token.
  2956.     (assignment): Accept PROVIDE.
  2957.     * ldlex.l (PROVIDE): New token.
  2958.     * ldexp.h (node_type): Add etree_provide to node_class enum.
  2959.     (exp_provide): Declare.
  2960.     * ldexp.c (exp_fold_tree): Handle etree_provide.
  2961.     (exp_provide): New function.
  2962.     (exp_print_tree): Handle etree_provide.
  2963.     * ld.texinfo: Document PROVIDE.
  2964.  
  2965.     * ldlang.c (lang_common): Pass desired alignment to
  2966.         lang_one_common as power of two.
  2967.     (lang_one_common): Get common symbol alignment from linker hash
  2968.     table entry.  Treat desired alignment as a power of two.
  2969.  
  2970.     * ldlang.c (wild_section): Attach all section with the given name,
  2971.     not just the first one.  If there is no name, attach all sections
  2972.     even if the SEC_IS_COMMON flag is set.
  2973.  
  2974. Wed Jul 20 15:49:27 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  2975.  
  2976.     * ld.h (args_type): Add field rpath.
  2977.     * lexsup.c (S_ISDIR): Define if not already defined.
  2978.     (parse_args): Add support for -rpath.  If -R is used to name a
  2979.     directory, treat it as -rpath for Solaris compatibility.
  2980.     * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
  2981.     Pass command_line.rpath to bfd_elf32_size_dynamic_sections.
  2982.     * ldmain.c (main): Initialize command_line.rpath to NULL.
  2983.     * ld.texinfo: Document -rpath option.
  2984.  
  2985. Sun Jul 10 00:33:24 1994  Ian Dall  (dall@hfrd.dsto.gov.au)
  2986.  
  2987.     * emulparams/pc532machaout.sh: New file. Pc532 mach script
  2988.     parameters. 
  2989.  
  2990.     * emulparams/netbsd532.sh: New file. Netbsd 532 script parameters.
  2991.  
  2992.     * config/pc532mach.mt: New file. Pc532 mach target support.
  2993.  
  2994.     * config/pc532mach.mh: New file. Pc532 mach host support.
  2995.  
  2996.     * config/netbsd532.mt: New file. Netbsd 532 target support.
  2997.  
  2998.     * configure.in: Add ns32k-pc532-mach and ns32k-pc532-netbsd support.
  2999.  
  3000.     * Makefile.in: Add epcmachaout.c dependency and enetbsd532.c
  3001.     dependency.
  3002.  
  3003. Fri Jul  8 10:57:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  3004.  
  3005.     * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Use
  3006.     bfd_abs_section_ptr, not &bfd_abs_section.
  3007.  
  3008.     * lexsup.c (parse_args): Changed "retain-symbols-file" from
  3009.     no_argument to required_argument.  From djm.
  3010.  
  3011. Thu Jul  7 12:29:53 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  3012.  
  3013.     * scripttempl/elf.sc: Explicitly mention .stab and .stabstr
  3014.     sections to force a VMA of 0; needed for ELF backends which have
  3015.     not been converted to the new linker style.
  3016.  
  3017. Mon Jul  4 19:35:45 1994  Jeff Law  (law@snake.cs.utah.edu)
  3018.  
  3019.     * scripttempl/hppaelf.sc (__stack_zero): Don't define this name,
  3020.     it was for the HPUX dynamic loader's use and it creates problems
  3021.     with ELF GDB.
  3022.  
  3023. Fri Jul  1 12:53:47 1994  Jeff Law  (law@snake.cs.utah.edu)
  3024.  
  3025.     * ldlang.c (lang_do_assignments): No longer static.  Delete decl.
  3026.     * ldlang.h (lang_do_assignments): Put external decl here.
  3027.     * emultempl/hppaelf.em: Minor cleanups throughout file.
  3028.     (hppa_elf_create_output_section_statements): Rewrite.
  3029.     (hppaelf_finish): Rewrite.
  3030.  
  3031. Wed Jun 29 16:50:00 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  3032.  
  3033.     * config/solaris2.mh (NATIVE_LIB_DIRS): Define as /usr/ccs/lib.
  3034.  
  3035.     * lexsup.c (parse_args): Accept -Bstatic and -Bdynamic.  Do not
  3036.     accept plain -B.
  3037.     * ld.texinfo: -Bstatic is not ignored.
  3038.  
  3039. Tue Jun 28 12:13:34 1994  Stan Shebs  (shebs@andros.cygnus.com)
  3040.  
  3041.     * ldlex.l: Recognize \r the same as \n.
  3042.  
  3043. Thu Jun 23 17:53:04 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  3044.  
  3045.     Preliminary support for generating shared libraries, from Eric
  3046.     Youngdale <ericy@cais.cais.com>.
  3047.     * genscripts.sh: If the emulation parameter file sets
  3048.         GENERATE_SHLIB_SCRIPT, generate a .xs script file with
  3049.     CREATE_SHLIB defined.
  3050.     * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): If
  3051.     link_info.shared is set, use the .xs script file.
  3052.     * scripttempl/elf.sc: If CREATE_SHLIB is set, don't create a
  3053.     .interp section, and don't include TEXT_START_ADDR in the starting
  3054.     address of the first section.
  3055.     * emulparams/elf_i386.sh (GENERATE_SHLIB_SCRIPT): Likewise.
  3056.     * emulparams/elf32_sparc.sh (GENERATE_SHLIB_SCRIPT): Define.
  3057.  
  3058. Thu Jun 23 12:52:22 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
  3059.  
  3060.     * configure.in: Change --with-targets to --enable-targets.
  3061.  
  3062. Wed Jun 22 13:42:14 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  3063.  
  3064.     * lexsup.c (parse_args): Add support for new options -( -) with
  3065.     synonyms --start-group --end-group.
  3066.     * ldlang.h (enum statement_enum): Add lang_group_statement_enum.
  3067.     (lang_group_statement_type): Define new struct.
  3068.     (lang_statement_union_type): Add group_statement field.
  3069.     (lang_enter_group, lang_leave_group): Declare.
  3070.     * ldlang.c (lang_for_each_statement_worker): Handle
  3071.     lang_group_statement_enum.
  3072.     (map_input_to_output_sections, print_statement): Likewise.
  3073.     (lang_size_sections, lang_do_assignments): Likewise.
  3074.     (open_input_bfds): Completely rewrite.  Now does its own looping,
  3075.     rather than using lang_for_each_statement.  Handle groups.
  3076.     (lang_process): Update call to open_input_bfds.
  3077.     (print_group): New static function.
  3078.     (lang_enter_group, lang_leave_group): New static functions.
  3079.     * ldfile.c (ldfile_open_file): If the file has already been
  3080.     opened, just return rather than taking an assertion failure.
  3081.     * ldver.c (help): Mention new options.
  3082.     * ld.texinfo: Document new options.
  3083.  
  3084.     * ldlang.c (end_of_data_section_statement_list): Don't define.
  3085.     (lang_leave_output_section_statement): Don't set obsolete variable
  3086.     end_of_data_section_statement_list.
  3087.  
  3088.     * scripttempl/go32coff.sc: Don't put ${DATA_ALIGNMENT} inside an
  3089.     ALIGN.
  3090.  
  3091.     * ldlang.c (lang_size_sections): Adjust current region address
  3092.     even for sections with an explicit address.  From
  3093.     ralphc@pyramid.com (Ralph Campbell).
  3094.  
  3095.     * emulparams/i386linux.sh (NONPAGED_TEXT_START_ADDR): Set to 0.
  3096.     From jrs@world.std.com (Rick Sladkey).
  3097.  
  3098.     * scripttempl/mipsbsd.sc: Let sections align to their natural
  3099.     boundaries.
  3100.  
  3101. Tue Jun 21 11:27:04 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  3102.  
  3103.     * ldlang.c (lang_init): Use new bfd_abs_section_ptr, not
  3104.     &bfd_abs_section.
  3105.     (lang_abs_symbol_at_beginning_of): Likewise.
  3106.     (lang_abs_symbol_at_end_of): Likewise.
  3107.     (lang_size_sections): Use bfd_is_abs_section to check for the
  3108.     absolute section.  Don't try to set the VMA or output_offset or
  3109.     size of the absolute section.
  3110.     * ldmain.c (notice_ysym): Use bfd_is_und_section to check for the
  3111.     undefined section.
  3112.  
  3113. Thu Jun 16 22:48:41 1994  Jeff Law  (law@snake.cs.utah.edu)
  3114.  
  3115.     * scripttempl/hppaelf.sc: Place .data and .bss at 0x40000000
  3116.     when generating relocatable objects.
  3117.  
  3118. Thu Jun 16 14:25:22 1994  Eric Youngdale  (ericy@cais.cais.com)
  3119.  
  3120.     * emultempl/linux.em: New file providing support for linking
  3121.     against Linux shared libraries.
  3122.     * config/i386-linux.mt (ei386linux.c): Depend upon linux.em.
  3123.     * emulparams/i386linux.sh (TEMPLATE_NAME): Define as linux.
  3124.  
  3125. Thu Jun 16 12:22:01 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3126.  
  3127.     * lexsup.c (parse_args): Add -shared to longopts, and handle it.
  3128.     * ldmain.c (main): Initialize link_info.shared to false.  Give
  3129.     error if link_info.relocateable and link_info.shared are both set.
  3130.  
  3131.     * configure.in: If EMUL_EXTRA* is defined in a config file, treat
  3132.     it as naming an emulation to be added to EMULATION_OFILES.
  3133.     * config/i386-linux.mt (EMUL_EXTRA1): Define as elf_i386.
  3134.  
  3135.     * Makefile.in: Rebuilt dependencies.
  3136.     (ALL_EMULATIONS): Add ei386linux.o, eelf32_sparc.o,
  3137.     eelf64_sparc.o.  Remove $(OTHER_EMULATIONS).
  3138.     (ei386linux.c, eelf32_sparc.c, eelf64_sparc.c): New targets.
  3139.     * config/i386-linux.mt (OTHER_EMULATIONS): Don't define.
  3140.     (ei386linux.c): Remove; now in Makefile.in.
  3141.     * config/i386-lynx.mt (OTHER_EMULATIONS): Don't define.
  3142.     * config/m68k-lynx.mt (OTHER_EMULATIONS): Don't define.
  3143.     * config/sparc-lynx.mt (OTHER_EMULATIONS): Don't define.
  3144.     * config/sparc64-elf.mt (OTHER_EMULATIONS): Don't define.
  3145.     (eelf64_sparc.c): Remove; now in Makefile.in.
  3146.     * config/sun4sol2.mt (OTHER_EMULATIONS): Don't define.
  3147.     (eelf32_sparc.c): Remove; now in Makefile.in.
  3148.  
  3149.     * ldexp.c (exp_print_tree): Don't crash if etree_rel section has
  3150.     no owner--it might be bfd_abs_section.  From Eric Youngdale
  3151.     <ericy@cais.cais.com>.
  3152.  
  3153.     * scripttempl/aout.sc: Let sections align to their natural
  3154.     boundaries.
  3155.  
  3156. Wed Jun 15 01:54:54 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3157.  
  3158.     * ldemul.h (ldemul_open_dynamic_archive): Declare.
  3159.     (ld_emulation_xfer_type): Add new field open_dynamic_archive.
  3160.     * ldemul.c: Include ldexp.h and ldlang.h.
  3161.     (ldemul_open_dynamic_archive): New function.
  3162.     * ldfile.h (ldfile_open_file_search): Declare.
  3163.     * ldfile.c: Include ldemul.h.
  3164.     (try_open_bfd): Rename from cache_bfd_openr.  Return boolean
  3165.     argument, not bfd *.  Change all callers.
  3166.     (ldfile_open_file_search): Rename from open_a.  Return boolean
  3167.     argument, not bfd *.  Clean up.  Change all callers.
  3168.     (ldfile_open_file): If doing a dynamic link, call
  3169.     ldemul_open_dynamic_archive rather than assuming the extension of
  3170.     a dynamic object is ".so".
  3171.     * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
  3172.     New function.
  3173.     (ld_${EMULATION_NAME}_emulation): Initialize open_dynamic_archive
  3174.     field.
  3175.     * emultempl/sunos.em (ld_${EMULATION_NAME}_emulation): Likewise.
  3176.  
  3177.     * ldmain.c (get_emulation): Ignore -m486 for Linux compatibility.
  3178.     * lexsup.c (parse_args): Ignore -qmagic for Linux compatibility.
  3179.     Accept -static as a synonym for -non_shared.
  3180.  
  3181.     Let the user change the dynamic linker used by ELF code.
  3182.     * ld.h (args_type): Add new field interpreter.
  3183.     * lexsup.c (parse_args): Add dynamic-linker to longopts, and
  3184.     handle it.
  3185.     * ldmain.c (main): Initialize command_line.interpreter to NULL.
  3186.     * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Get
  3187.     the ELF backend to return the .interp section.  If
  3188.     command_line.interpreter is not NULL, set the contents of .interp
  3189.     to it.
  3190.     * ld.texinfo: Mention -dynamic-linker.
  3191.  
  3192.     * config/sun4sol2.mt (eelf32_sparc.c): Depend upon elf32.em, not
  3193.     generic.em.
  3194.  
  3195.     * lexsup.c (parse_args): Sort out the option macros and change the
  3196.     definitions to make it easier to add a new option.
  3197.  
  3198.     * scripttempl/aout.sc: Define __etext and __edata to go along with
  3199.     _etext and _edata.
  3200.  
  3201.     * ld.h (ld_config_type): Add new field traditional_format.
  3202.     * lexsup.c (parse_args): Add traditional-format to longopts, and
  3203.     handle it.
  3204.     * ldmain.c (main): Initialize config.traditional_format to false.
  3205.     * ldlang.c (ldlang_open_output): Set BFD_TRADITIONAL_FORMAT in BFD
  3206.     flags of output_bfd according to config.traditional_format.
  3207.     * ldver.c (help): Mention -traditional-format.
  3208.     * ld.texinfo: Document -traditional-format.
  3209.  
  3210. Tue Jun 14 23:10:07 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3211.  
  3212.     * ldctor.c (ldctor_add_entry): Add entries to a set in the order
  3213.     they are encountered.
  3214.  
  3215. Tue Jun 14 18:05:09 1994  Eric Youngdale  (ericy@cais.cais.com)
  3216.  
  3217.     * emulparams/i386linux.sh (TEXT_START_ADDR): Define as 0x1000.
  3218.     (NONPAGED_TEXT_START_ADDR): Define as 0x20.
  3219.  
  3220. Mon Jun 13 15:46:09 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3221.  
  3222.     * scripttempl/alpha.sc: Define _ftext, _etext and _fdata insted of
  3223.     _FTEXT, _ETEXT and _FDATA.  Dont define _END.
  3224.  
  3225.     * ldfile.c (open_a): If this is not an archive, try to open it in
  3226.     the current directory before searching for it.
  3227.  
  3228.     * lexsup.c (parse_args): Treat -i as a synonym for -r.
  3229.  
  3230.     * ldgram.y (exp): Treat BLOCK as a synonym for ALIGN, so that
  3231.     BLOCK works in a section address as documented.
  3232.  
  3233.     * ldgram.y (YYDEBUG): Don't define.
  3234.  
  3235. Fri Jun 10 16:45:39 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3236.  
  3237.     * emultempl/gld960.em: Pass false for new argument to
  3238.     ldfile_add_library_path.
  3239.     * emultempl/gld960c.em, emultempl/lnk960.em: Likewise.
  3240.  
  3241.     * emultempl/sunos.em: Only look for .so files if doing a dynamic
  3242.     link.
  3243.  
  3244. Thu Jun  9 08:35:17 1994  Ian Lance Taylor  (ian@cygnus.com)
  3245.  
  3246.     * scripttempl/i960.sc: Add CONSTRUCTORS to .data.
  3247.  
  3248. Thu Jun  9 06:52:29 1994  Bill Cox  (bill@rtl.cygnus.com)
  3249.  
  3250.     * Makefile.in (check): Delete ld.new dependency so that a regression
  3251.       test doesn't trigger a rebuild of the linker.    
  3252.  
  3253. Thu Jun  9 00:17:20 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3254.  
  3255.     * ldlang.c (map_input_to_output_sections): For lang_address, call
  3256.     init_os if it hasn't already been called.
  3257.  
  3258. Thu Jun  2 17:24:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3259.  
  3260.     Add support for SunOS shared libraries.
  3261.     * aout.sc: Don't define __DYNAMIC here.  Add new sections used by
  3262.     shared library support code.
  3263.     * emultempl/sunos.em: New file.
  3264.     * emulparams/sun4.sh (TEMPLATE_NAME): Define as sunos.
  3265.     * emulparams/sun3.sh (TEMPLATE_NAME): Likewise.
  3266.     * Makefile.in (esun4.c): Depend upon sunos.em, not generic.em.
  3267.     (esun3.c): Likewise.
  3268.  
  3269.     * ldlang.c: Minor formatting cleanups.
  3270.     (lang_for_each_input_file): New function.
  3271.     * ldlang.h (lang_for_each_input_file): Declare.
  3272.  
  3273.     * ldfile.h (search_dirs_type): Move from ldfile.c, and add cmdline
  3274.     field.
  3275.     (search_head): Declare.
  3276.     (ldfile_add_library_path): Add new cmdline argument in prototype.
  3277.     * ldfile.c (search_head): Make non-static.
  3278.     (search_dirs_type): Move to ldfile.h.
  3279.     (ldfile_add_library_path): Accept cmdline argument, and save it.
  3280.     * lexsup.c (parse_args): Pass true for new cmdline argument of
  3281.     ldfile_add_library_path.
  3282.     (set_default_dirlist): Likewise.
  3283.     * ldmain.c (check_for_scripts_dir): Pass false for new cmdline
  3284.     argument of ldfile_add_library_path.
  3285.     * ldgram.y (ifile_p1): Likewise.
  3286.  
  3287. Wed Jun  1 14:24:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3288.  
  3289.     * ldlang.h (lang_input_statement_type): Remove fields subfiles,
  3290.     total_size, superfile and chain.
  3291.     * ldfile.c (open_a): Don't clear search_dirs_flag.
  3292.     (ldfile_open_file): Don't try to open superfile.  Assert that file
  3293.     has not already been opened.
  3294.     * ldlang.c (new_afile): Don't initialize superfile.
  3295.     * ldmain.c (add_archive_element): Don't initialize subfiles or
  3296.     chain or superfile.  Initialize search_dirs_flag to false.
  3297.  
  3298. Fri May 27 12:25:33 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  3299.  
  3300.     * ldver.c (ldversion): Changed version to "cygnus-2.4.1".
  3301.  
  3302.     Changes from binutils-2.4 release:
  3303.  
  3304.     * genscripts.sh (RELOCATING, CONSTRUCTING): When setting
  3305.     variables, use whitespace, so scripts don't break.
  3306.  
  3307.     * config/alphaosf.mh (HDEFINES, CFLAGS): Deleted.
  3308.  
  3309.     * emultempl/generic.em: Find emultempl/stringify.sed in ${srcdir}.
  3310.  
  3311.     * cdtest-bar.cc: Renamed from cdtest-func.cc.
  3312.     * Makefile.in: Noted change.
  3313.  
  3314.     * scripttempl/a29k.sc: Don't include /lab3/u3/..../segments.o; I
  3315.     don't know where that's supposed to come from, or why it's
  3316.     necessary.
  3317.  
  3318.     Wed May 11 22:32:00 1994  DJ Delorie (dj@ctron.com)
  3319.  
  3320.     * configure.bat: update to latest makefile.in
  3321.     * emulpara/go32.sh: set to coff-go32 not aout
  3322.     * emultemp/generic.em: strength-reduce the structure of
  3323.       this shell script, since the only available shell for
  3324.       DOS can't handle complex syntax.
  3325.     * emultemp/stringify.sed: for "sed -f" instead of inline.
  3326.     * makefile.in: depend on stringify.sed as well as genscripts.sh
  3327.     * scripttemp/go32coff.sc: correct for djgpp 1.11's COFF format
  3328.     * genscripts.sh: empty variables aren't always considered "set",
  3329.       so set them to "y" instead.
  3330.  
  3331. Fri May 27 01:08:14 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3332.  
  3333.     * ldlang.c (entry_symbol): Make static.
  3334.     (lang_add_entry): Add cmdline argument.
  3335.     * ldlang.h (lang_add_entry): Change prototype.
  3336.     * ldgram.y (statement_anywhere): Change lang_add_entry call.
  3337.     * lexsup.c (parse_args): Likewise.
  3338.  
  3339. Tue May 24 16:13:43 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3340.  
  3341.     * emulparams/elf32mipb.sh (OTHER_READONLY_SECTIONS): Don't give
  3342.     .reginfo an address.
  3343.     (OTHER_READWRITE_SECTIONS): Don't give .lit4 or .lit8 an address.
  3344.     (OTHER_SECTIONS): Define for .gptab.sdata and .gptab.sbss.
  3345.     * scripttempl/elf.sc: Use OTHER_SECTIONS at end of script.
  3346.  
  3347. Thu May 19 13:31:33 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3348.  
  3349.     Add support for ELF shared libraries.
  3350.     * ld.h (ld_config_type): Add field dynamic_link.
  3351.     * ldmain.c (main): Initialize config.dynamic_link to false.  Warn
  3352.     on attempts to use -r with -relax, -call_shared or -s.
  3353.     * lexsup.c (longopts): Separate OPTION_CALL_SHARED from
  3354.     OPTION_NON_SHARED.  Add OPTION_IGNORE.  Adjust macro values
  3355.     accordingly.  Add "dy" and "non_shared" options.  Change "Qy" to
  3356.     OPTION_IGNORE for now.  Handle OPTION_CALL_SHARED and
  3357.     OPTION_NON_SHARED by setting dynamic_link field accordingly.
  3358.     Handle OPTION_IGNORE by ignoring it.  Clear dynamic_link field for
  3359.     -r and -Ur.
  3360.     * ldfile.c (ldfile_open_file): If config.dynamic_link is true, try
  3361.     opening a file with a .so extension first.
  3362.     * emultempl/elf32.em: New file.
  3363.     * emulparams/elf32_sparc.sh (TEXT_START_ADDR): Change to 0x10000.
  3364.     (NONPAGED_TEXT_START_ADDR): Likewise.
  3365.     (TEMPLATE_NAME): Define as elf32.
  3366.     (DATA_PLT): Define.
  3367.     * emulparams/elf_i386.sh (TEMPLATE_NAME): Define as elf32.
  3368.     * scripttempl/elf.sc: Add placement for new dynamic sections.
  3369.     Don't use CREATE_OBJECT_SYMBOLS.  Define _etext, _edata and _end
  3370.     outside of any section.  Don't use ALIGN(8); just let one section
  3371.     VMA follow another.  Put .dynbss in .bss.  Don't mention debugging
  3372.     sections; they'll be handled correctly anyhow.
  3373.     * Makefile.in (eelf_i386.c): Depend upon elf32.em, not generic.em.
  3374.  
  3375. Wed May 18 10:15:39 1994  Ian Lance Taylor  (ian@cygnus.com)
  3376.  
  3377.     * Makefile.in (install): Redirect output of ln to /dev/null.
  3378.  
  3379. Mon May 16 13:35:08 1994  Jeff Law  (law@snake.cs.utah.edu)
  3380.  
  3381.     * emultempl/hppaelf.em: Change all references of
  3382.     .hppa_linker_stubs to .PARISC.stubs.
  3383.     * scripttempl/hppaelf.sc: Likewise.
  3384.  
  3385. Fri May 13 13:00:38 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3386.  
  3387.     * ldlang.c (print_output_section_statement): Change ``no attached
  3388.     output section'' message slightly.
  3389.     (lang_do_assignments): Don't recurse down if there is no real
  3390.     section.
  3391.  
  3392.     * config/i386-linux.mt (OTHER_EMULATIONS): Change em_ to e to
  3393.     match corresponding change in emulation templates.
  3394.     * config/i386-lynx.mt, config/m68k-lynx.mt: Likewise.
  3395.     * config/sparc-lynx.mt, config/sun4sol2.mt: Likewise.
  3396.  
  3397. Wed May 11 18:16:46 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  3398.  
  3399.     * ldver.c (ldversion): Updated version number.
  3400.  
  3401.     * cdtest-foo.cc: Use explicit "#pragma implementation".
  3402.     * cdtest-bar.cc: Renamed from cdtest-func.cc.
  3403.     * Makefile.in: References to cdtest-func.o changed to
  3404.     cdtest-bar.o.
  3405.  
  3406. Wed May 11 16:24:19 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3407.  
  3408.     Don't create unnecessary output sections.
  3409.     * ldlang.c (out_bfd_get_section_by_name): Remove.
  3410.     (wild_section): Call bfd_get_section_by_name rather than
  3411.     our_bfd_get_section_by_name.  Don't call wild_doit if there is no
  3412.     section.
  3413.     (lang_create_output_section_statements): Remove.
  3414.     (map_input_to_output_sections): For several cases, call init_os if
  3415.     it has not already been called.
  3416.     (lang_size_sections): If output section was not created, skip it.
  3417.     (lang_process): Don't call lan_create_output_section_statements.
  3418.     (lang_place_orphans): Skip files with just_syms_flags set to true.
  3419.     * ld.texinfo: Document change.
  3420.  
  3421. Tue May 10 14:31:16 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3422.  
  3423.     * ldlang.c (wild_doit): Don't bother initializing the vma and
  3424.     section size.  Don't special case SEC_SHARED_LIBRARY.
  3425.     (lang_size_sections): Handle SEC_COFF_SHARED_LIBRARY sections
  3426.     specially.
  3427.  
  3428. Fri May  6 12:24:27 1994  Steve Chamberlain  (sac@cygnus.com)
  3429.  
  3430.     * config/go32.mh : New file for Xgo32X.
  3431.  
  3432. Fri May  6 15:15:35 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3433.  
  3434.     * ldfile.c (ldfile_open_command_file): Set bfd_error_system_call
  3435.     before calling einfo, since we are reporting an fopen failure.
  3436.     From jrs@world.std.com (Rick Sladkey).
  3437.  
  3438.     * configure.in: Use "e" rather than "em_" as prefix for
  3439.     emulations.
  3440.  
  3441. Fri May  6 01:08:14 1994  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
  3442.  
  3443.     * emultempl/generic.em: Use "e" rather than "em_" as prefix for
  3444.     filename.
  3445.     * emultempl/gld960.em, emultempl/gld960c.em, emultempl/lnk960.em,
  3446.     emultempl/hppaelf.em, emultempl/m88kbcs.em, emultempl/vanilla.em:
  3447.     Ditto.
  3448.     * Makefile.in: Changed all generated file names.
  3449.     (ldemul-list.h): Depend on Makefile, not config.status.  Changed
  3450.     sed patterns to handle new filenames.
  3451.  
  3452.     * config/mipsl-idt.mt: Renamed from mips-idtl.mt.
  3453.     * configure.in: Adjusted.
  3454.  
  3455. Thu May  5 15:07:32 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  3456.  
  3457.     * Makefile.in (install-info): Don't use "$<*", it doesn't always
  3458.     work.  Instead, check build dir and $srcdir explicitly, and use
  3459.     `echo' to get all the filenames.
  3460.  
  3461.     * configure.in (h8300h-*-hms): Changed ld_target name to
  3462.     cf-h8300h.
  3463.     * config/cf-h8300h.mt: Renamed from coff-h8300h.mt, to make it
  3464.     unique in 8.3.
  3465.  
  3466.     * config/i960coff.mt: New file.
  3467.     * emulparams/gld960coff.sh: New file.
  3468.     * emultempl/gld960c.em: New file.
  3469.     * configure.in (i960-*-vxworks5* except -vxworks5.0*): Use
  3470.     i960coff configuration.
  3471.     * Makefile.in (em_gld960coff.c): Added dependencies, build rule.
  3472.  
  3473.     * Makefile.in (ALL_EMULATIONS): Remove em_delta68.o, since the
  3474.     code isn't included in FSF releases, and it can still be
  3475.     explicitly selected.
  3476.     (distclean): Remove site.bak and tmpdir.
  3477.     (STAGESTUFF): Removed $(GENERATED_CFILES) $(GENERATED_HFILES).
  3478.     (mostlyclean): Delete them explicitly here.  Also remove tmpdir.
  3479.  
  3480.     Patches from Ralph Campbell:
  3481.     * config/mipsbsd.mh: New file.
  3482.     * Makefile.in (em_mipsbsd.c): Use mipsbsd.sc, not aout.sc.
  3483.     * scripttempl/mipsbsd.sc: Don't define __DYNAMIC.
  3484.     * emulparams/mipsbsd.sh (OUTPUT_FORMAT): Fix name to have `a.out'
  3485.     instead of `aout'.
  3486.  
  3487.     * configure.in (i386-*-gnu*): Treat like i386-*-mach*.
  3488.  
  3489. Wed May  4 11:59:40 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3490.  
  3491.     * config/m68k.mt (EMUL): Set to m68kaout.
  3492.     * emulparams/m68kaout.sh: New file.
  3493.     * Makefile.in (ALL_EMULATIONS): Add em_m68kaout.o.
  3494.     (em_m68kaout.c): New target.
  3495.  
  3496.     * ldlang.c (lang_size_sections): If dot moves because of an
  3497.     assignment, don't try to insert a pad into the absolute output
  3498.     section, just change the address of the default memory region
  3499.     instead.
  3500.  
  3501.     * Makefile.in (mostlyclean): Remove cdtest.tmp, cdtest-ur,
  3502.     cdtest-ur.out, and cdtest-ur.tmp.
  3503.  
  3504. Wed Apr 27 16:03:37 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3505.  
  3506.     * scripttempl/sa29200.sc: Align all sections to four byte
  3507.     boundaries.
  3508.  
  3509. Wed Apr 27 10:48:03 1994  Steve Chamberlain  (sac@cygnus.com)
  3510.  
  3511.     * Makefile.in, configure.in: Support for go32 coff.
  3512.     * config/i386-go32.mt: New file
  3513.     * emulparams/i386go32.sh: New file
  3514.     * scripttempl/i386go32.sc: New file
  3515.  
  3516. Tue Apr 26 17:20:03 1994  Stan Shebs  (shebs@andros.cygnus.com)
  3517.  
  3518.     * Makefile.in (em_m68klynx.c, em_i386lynx.c, em_sparclynx.c): Use
  3519.     Lynx-specific script templates.
  3520.     * configure.in (sparclite*-*-coff): Use coff-sparc.
  3521.     * emulparams/i386lynx.sh (SCRIPT_NAME): Set to i386lynx.
  3522.     * emulparams/sparclynx.sh (SCRIPT_NAME): Set to sparclynx.
  3523.     (ENTRY): Set to __main.
  3524.     * scripttempl/i386lynx.sc: New file, script for I386 Lynx.
  3525.     * scripttempl/m68klynx.sc: Add insertion of ctor/dtor sections.
  3526.     * scripttempl/sparclynx.sc: New file, script for uSparc Lynx.
  3527.  
  3528. Tue Apr 26 12:41:03 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3529.  
  3530.     * scripttempl/mips.sc: Force _gp and .lit8 to be aligned to a 16
  3531.     byte boundary, in case the global constructors do not take up an
  3532.     even 16 bytes.
  3533.  
  3534.     * config/i386v4.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not
  3535.     exist, get crtbegin based on gcc -print-libgcc-file-name.
  3536.     (HOSTING_LIBS): Similar change for ../gcc/crtend.o.
  3537.  
  3538. Mon Apr 25 15:27:52 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3539.  
  3540.     * ldlang.c (lang_size_sections): When no address is given for a
  3541.     section, align it according to its requirements.
  3542.  
  3543. Thu Apr 21 17:24:24 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3544.  
  3545.     * Makefile.in (clean, distclean): Remove configdoc.texi.
  3546.  
  3547. Tue Apr 19 12:12:15 1994  Bill Cox  (bill@rtl.cygnus.com)
  3548.  
  3549.     * configure.in: Add i[34]86-*-bsd386 to the patterns recognized.
  3550.  
  3551. Fri Apr 15 14:35:42 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3552.  
  3553.     * ldlang.c (lang_size_sections): When relaxing, adjust the
  3554.     position of a padding statement, and adjust dot accordingly.
  3555.  
  3556. Mon Apr 11 17:37:09 1994  Bill Cox  (bill@rtl.cygnus.com)
  3557.  
  3558.     * Makefile.in (EXPECT, RUNTEST): Set these for the check goal.
  3559.  
  3560. Mon Apr 11 12:32:57 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3561.  
  3562.     * scripttempl/i386coff.sc: If relocating, don't put .init and
  3563.     .fini sections into .text; keep them separate.
  3564.     * config/i386sco.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not
  3565.     exist, get crtbegin based on gcc -print-libgcc-file-name.
  3566.     (HOSTING_LIBS): Similar change for ../gcc/crtend.o.
  3567.  
  3568. Mon Apr 11 10:31:00 1994  Bill Cox  (bill@rtl.cygnus.com)
  3569.  
  3570.     * Makefile.in (check): Set TCL_LIBRARY for runtest.
  3571.  
  3572. Wed Apr  6 00:09:37 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  3573.  
  3574.     * configure.in (hppa*-*-*elf*): Don't require "-hp-" for the
  3575.     manufacturer.
  3576.  
  3577.     * emultempl/hppaelf.em (hppaelf_finish): Only resize sections
  3578.     if building a final executable.
  3579.  
  3580. Tue Apr  5 12:17:30 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3581.  
  3582.     * ldmain.c (main): Check the return value of bfd_close.
  3583.  
  3584. Thu Mar 31 18:07:06 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3585.  
  3586.     * scripttempl/alpha.sc: Clean up section alignment to ensure that
  3587.     sections never overlap when using -r.
  3588.  
  3589. Wed Mar 30 15:51:15 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3590.  
  3591.     * ldmisc.c (vfinfo): Change symbol reading slightly for recent BFD
  3592.     changes: get_symtab_upper_bound renamed and returns long,
  3593.     bfd_canonicalize_symtab returns long, check for error indications.
  3594.  
  3595. Fri Mar 25 17:20:01 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3596.  
  3597.     * ldlang.c (print_input_section): For section size, use
  3598.     _cooked_size if it is non-zero, size otherwise.
  3599.     (size_input_section): Likewise.
  3600.     (lang_do_assignments): Likewise (case lang_input_section_enum).
  3601.  
  3602. Thu Mar 24 15:20:47 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3603.  
  3604.     * ldlang.c (new_afile): Add new argument add_to_list.  Don't set
  3605.     real to true for lang_input_file_is_marker_enum.  Clear the_bfd.
  3606.     (lang_add_input_file): Pass true to new_afile for add_to_list.
  3607.     (lookup_name): Remove force_load argument.  Changed all callers.
  3608.     Pass false to new_afile for add_to_list.  Split loading of symbols
  3609.     out into separate function.
  3610.     (load_symbols): New function split out of lookup_name.  Don't load
  3611.     the symbols if they are already loaded.
  3612.     (open_input_bfds): For lang_input_statement_enum call load_symbols
  3613.     rather than lookup_name.
  3614.     (lang_process): Pass abs_output_section rather than NULL to
  3615.     lang_size_sections.
  3616.     (lang_startup): Set real field of first_file to true.
  3617.  
  3618. Wed Mar 23 14:15:44 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3619.  
  3620.     * ldlang.c (had_relax): Removed.
  3621.     (relax_again): New static variable.
  3622.     (lang_size_sections): Change call to bfd_relax_section to
  3623.     correspond to BFD changes.  Set relax_again appropriately.
  3624.     (lang_process): Remove #if 0 code.  When relaxing, keep calling
  3625.     lang_do_assignments and lang_size_sections until relax_again
  3626.     becomes false.
  3627.  
  3628.     * emultemp/gld960.em: Include libiberty.h
  3629.     (gld960_before_parse): Pass NULL as final argument to concat.
  3630.  
  3631. Tue Mar 22 13:08:28 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3632.  
  3633.     * scripttempl/aout.sc: Force _end and __end to be aligned to a
  3634.     four byte boundary.
  3635.  
  3636.     * ldwrite.c (build_link_order): Handle lang_data_statement_enum by
  3637.     building a bfd_data_link_order, rather than by setting the section
  3638.     contents immediately.
  3639.  
  3640. Mon Mar 21 18:28:37 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3641.  
  3642.     Changes to make -Ur work again.
  3643.     * ldmain.c (add_to_set): Now takes reloc argument rather than
  3644.     bitsize.  Check config.build_constructors here.  If an new hash
  3645.     table entry is created, mark it as undefined.
  3646.     (constructor_callback): No longer takes bitsize argument.  Pass
  3647.     BFD_RELOC_CTOR to ldctor_add_set_entry, but first make sure the
  3648.     BFD backend supports it.
  3649.     (reloc_overflow): Handle a NULL abfd argument.
  3650.     (reloc_dangerous, unattached_reloc): Likewise.
  3651.     * ldctor.c: Include ldmain.h.
  3652.     (struct set_info): Change bitsize field to reloc.
  3653.     (ldctor_add_set_entry): Now takes reloc argument rather than
  3654.     bitsize.  Don't bother to check config.build_constructors here.
  3655.     (ldctor_build_sets): Get the size from the reloc howto.  If
  3656.     generating relocateable output, call lang_add_reloc rather than
  3657.     lang_add_data.
  3658.     * ldctor.h (ldctor_add_set_entry): Change declaration to use reloc
  3659.     instead of bitsize.
  3660.     * ldlang.h (statement_enum): Add lang_reloc_statement_enum.
  3661.     (lang_reloc_statement_type): New structure.
  3662.     (lang_statement_union_type): Add reloc_statement field.
  3663.     (lang_add_reloc): Declare new function.
  3664.     * ldlang.c (lang_for_each_statement_worker): Handle
  3665.     lang_reloc_statement_enum.
  3666.     (map_input_to_output_sections, print_statement): Likewise.
  3667.     (lang_size_sections, lang_do_assignments): Likewise.
  3668.     (print_reloc_statement): New function.
  3669.     (lang_add_reloc): New function.
  3670.     * ldwrite.c (build_link_order): Handle lang_reloc_statement_enum.
  3671.  
  3672.     * Makefile.in (cdtest.out, cdtest-ur.o): New targets.
  3673.     (cdtest-ur, cdtest-ur.out): New targets.
  3674.     (check-cdtest): Now also check that -Ur works correctly.
  3675.  
  3676.     * scripttemp/alpha.sc: Align all sections to 16 byte boundaries.
  3677.  
  3678. Thu Mar 17 12:45:41 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3679.  
  3680.     * ldlang.c (lang_process): Move lang_common call before
  3681.     map_input_to_output_sections, to ensure that any alignment
  3682.     constraints set by common symbols are copied over to the output
  3683.     sections.
  3684.  
  3685. Fri Mar 11 22:17:34 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3686.  
  3687.     * emulparams/elf32ppc.sh (TEMPLATE_NAME): Don't define.
  3688.     (OTHER_READWRITE_SECTIONS): Rename .toc to .got.
  3689.     * Makefile.in (em_elf32ppc.c): Depend upon generic.em, not ppc.em.
  3690.     * emultempl/ppc.em: Remove ugly stub code; turns out not to be
  3691.     needed for ELF.
  3692.  
  3693. Tue Mar  8 04:22:27 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
  3694.  
  3695.     * config/i386bsd.mh: New file.
  3696.  
  3697. Mon Mar  7 15:23:24 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3698.  
  3699.     * elf.sc: Permit TEXT_START_SYMBOLS and DATA_START_SYMBOLS to be
  3700.     defined.
  3701.     * emulparams/elf32mipb.s (TEXT_START_SYMBOLS): Define _ftext.
  3702.     (DATA_START_SYMBOLS): Define _fdata.
  3703.  
  3704. Mon Feb 28 10:59:14 1994  Stan Shebs  (shebs@andros.cygnus.com)
  3705.  
  3706.     * ldlang.c (cat): Define using ANSI style if ALMOST_STDC defined.
  3707.  
  3708. Sun Feb 27 16:29:38 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  3709.  
  3710.     * emultempl/hppaelf.em (hppaelf_finish): Update comments.  This
  3711.     works again.  Attach some output symbols to the stub file bfd.
  3712.  
  3713.     * emultempl/hppaelf.em: Include elf32-hppa.h.
  3714.     (file_chain): Add decl.
  3715.     (hppa_look_for_stubs_in_section): Delete decl.
  3716.     (hppaelf_finish): Reenable code.  Do not pass symbols
  3717.     down to hppa_look_for_stubs_in_section.
  3718.  
  3719. Sat Feb 26 10:58:25 1994  Ian Lance Taylor  (ian@cygnus.com)
  3720.  
  3721.     * ldmain.c (write_map): Don't define.  Removed all references.
  3722.     Just use map_file or map_filename instead.
  3723.     (add_archive_element): Use minfo to write map information, not
  3724.     info_msg.
  3725.     (constructor_callback): Use fprintf to write map information, not
  3726.     info_msg.
  3727.     * ldmain.h (write_map): Don't declare.
  3728.     * ldgram.y (mri_script_command): Removed reference to write_map.
  3729.     * ldlang.c (lang_one_common): Likewise.
  3730.     * lexsup.c (parse_args): Likewise.
  3731.  
  3732. Fri Feb 25 19:12:03 1994  Ian Lance Taylor  (ian@cygnus.com)
  3733.  
  3734.     * scripttempl/elf.sc: Force all sections to be aligned.
  3735.  
  3736.     * ldgram.y (section): Reverse the order of memspec_opt and
  3737.     fill_opt to avoid an ambiguity when both are used.
  3738.     * ld.texinfo: Changed accordingly.
  3739.  
  3740.     * ldgram.y: Move include of ldlex.h back with other includes.
  3741.     * ldlex.h (input_type): Don't initialize enum constants to
  3742.     particular values.
  3743.     * ldlex.l: Use a switch to return the right token based on
  3744.     input_type, rather than knowing that input_type has a value based
  3745.     on a token type.
  3746.  
  3747.     * ldgram.y (dirlist_ptr): Removed; not used.
  3748.     * lexsup.c: Include ldver.h.
  3749.     * Makefile.in: Rebuilt dependencies.
  3750.  
  3751. Fri Feb 25 18:55:54 1994  Ted Lemon  (mellon@pepper.ncd.com)
  3752.  
  3753.     * ldlang.c (lookup_name): don't call bfd_set_gp_size.
  3754.     (ldlang_add_file): call it here instead.
  3755.  
  3756. Fri Feb 25 18:13:46 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
  3757.  
  3758.     * ldgram.y: Include ldlex.h after %token decls, for byacc.
  3759.  
  3760. Fri Feb 25 10:47:25 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  3761.  
  3762.         * emultempl/hppaelf.em: First attempt to clean this file up.
  3763.     Add comments in several functions as to their purpose and
  3764.     how they function (or my current best guess).  Clean up horrible
  3765.     spacing and indention that never should have been accepted in the
  3766.     first place.  Add FIXMEs for issues which need to be resolved.
  3767.     Disable linker-stub generation until it gets fixed.  This allows
  3768.     the linker to at least work on simple code for testing purposes.
  3769.  
  3770.     * ldlang.c (lang_size_sections): No longer static (PA ELF calls
  3771.     it via hppaelf_finish).  Prototype moved into ldlang.h.
  3772.     (lang_process): Move problematic extra call to lang_size_sections
  3773.     into the PA ELF specific code.
  3774.     * emultempl/hppaelf.em (hppaelf_finish): Extra call to
  3775.     lang_size_sections moved here.
  3776.  
  3777. Thu Feb 24 16:47:33 1994  Ian Lance Taylor  (ian@cygnus.com)
  3778.  
  3779.     * configure.in (powerpc-*-elf*): New target; use ppc-elf32.
  3780.     * config/ppc-elf32.mt: New file.
  3781.     * emulparams/elf32ppc.sh: New file.
  3782.     * emultempl/ppc.em: New file.
  3783.     * Makefile.in (ALL_EMULATIONS): Added em_elf32ppc.o.
  3784.     (em_elf32ppc.c): New target; uses elf32ppc.sh, ppc.em and elf.sc.
  3785.     (EMULATION_OFILES): Added dependencies on ldexp.h and ldlang.h.
  3786.  
  3787. Thu Feb 24 12:27:07 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
  3788.  
  3789.     * lexsup.c (parse_args): Use symbolic numbers for long options.
  3790.     Fix misunderstanding in -Y and -call_shared et al.
  3791.  
  3792.     Use getopt instead of lex and yacc to parse the command line.
  3793.  
  3794.     * ld.texinfo (Options): Document changes to option syntax.
  3795.     * Makefile.in: Update dependencies.
  3796.     * ldver.c (help): Tweak dashes in usage message.
  3797.     * ldgram.y (%union): Remove unused members.
  3798.     Remove %tokens for command line options; add ones for input types.
  3799.     (command_line): Rules removed.
  3800.     (file): Instead of command line, recognize an
  3801.     input type indicator, then use the nonterminal for that type.
  3802.     (defsym_expr): New nonterminal from code formerly in command_line.
  3803.     * ldlex.h: Declare parser input type enum and variable.
  3804.     Don't declare parse_line.
  3805.     * ldlex.l: Remove unused variables.  Make some used ones static
  3806.     and comment them.
  3807.     (COMMAND): Start state and its rules removed.
  3808.     At start of yylex, return input state token if at start of input.
  3809.     (lex_redirect): Don't need to set yyout.
  3810.     (ldlex_command): Function removed.
  3811.     * ldmain.c (main): Instead of calling parse_line, set up the
  3812.     redirections and call yyparse directly.
  3813.     * ldmisc.c (vfinfo): If there's no input filename, print nothing, not
  3814.     "command line".
  3815.     * lexsup.c: Remove #if 0'd code.
  3816.     (parse_line): Function removed.
  3817.     (parse_args): Rewrite to use getopt_long_only.
  3818.     (set_default_dirlist): New function from code formerly in
  3819.     ldgram.y:command_line.
  3820.     (set_section_start): New function.
  3821.     * emultempl/generic.em, emultempl/gld960.em, emultempl/hppaelf.em,
  3822.     emultempl/lnk960.em, emultempl/m88kbcs.em: Don't enclose
  3823.     compiled-in link scripts in "{" and "}", as the grammar no longer
  3824.     wants them to be.
  3825.  
  3826. Thu Feb 24 08:43:26 1994  Ken Raeburn  (raeburn@rtl.cygnus.com)
  3827.  
  3828.     * Makefile.in (ld.dvi): Depend on configdoc.texi, but don't
  3829.     require that it be in $(srcdir).
  3830.  
  3831. Tue Feb 22 09:21:18 1994  Ian Lance Taylor  (ian@cygnus.com)
  3832.  
  3833.     * ldlang.c (lang_size_sections): Only align section to alignment
  3834.     required by linker script, not to maximum alignment of input
  3835.     sections.
  3836.  
  3837.     * ldlang.h (largest_section): Don't declare.
  3838.     * ldlang.c (largest_section): Don't define.
  3839.     (size_input_section): Don't set largest_section; not used.
  3840.  
  3841. Mon Feb 21 15:15:29 1994  Ian Lance Taylor  (ian@cygnus.com)
  3842.  
  3843.     * ldlang.c (new_afile): Pass NULL as last argument to concat.
  3844.  
  3845. Thu Feb 17 15:51:23 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3846.  
  3847.     * ldlang.c, ldmain.c: Include libiberty.h.
  3848.  
  3849.     * ldmisc.h (concat): Don't declare.
  3850.     * ldmisc.c (concat): Don't define; just use the one in libiberty.
  3851.  
  3852.     * ld.h (as_output_section_statement): Removed; not used.
  3853.  
  3854. Thu Feb 17 09:32:14 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
  3855.  
  3856.     * ldlang.c, ldmain.c, ldmisc.c: Use bfd_get_error and
  3857.     bfd_set_error and new error names. 
  3858.  
  3859. Tue Feb 15 20:14:53 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  3860.  
  3861.     * ldwrite.c (build_link_order): If the cooked size of the section
  3862.     has been set, use it, for determining link_order size.
  3863.     (ldwrite): In the error message displayed if bfd_final_link fails,
  3864.     indicate that it was in fact the final link step that failed.
  3865.  
  3866.     * ldlang.c (lang_size_sections): Clear bfd_error before calling
  3867.     bfd_relax_section, in case it returns false but doesn't flag an
  3868.     error.  If an error is returned, indicate which one it is in the
  3869.     error message.
  3870.  
  3871.     * Makefile.in (install-info): Depend on ld.info, and use "$<*" so
  3872.     it'll get picked up from $(srcdir) if appropriate.
  3873.  
  3874. Tue Feb 15 16:32:04 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
  3875.  
  3876.     * scripttempl/aout.sc: Only pad .text if PAD_TEXT is set.
  3877.     * emulparams/i386mach.sh (PAD_TEXT): Set PAD_TEXT.
  3878.  
  3879. Fri Feb 11 17:02:49 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
  3880.  
  3881.     * ldlex.l (comment): Increment line number when newline is read.
  3882.  
  3883. Fri Feb 11 17:36:20 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3884.  
  3885.     * ldlang.c (lookup_name): Take new argument, force_load.  If true,
  3886.     reload the file even if it is already loaded.
  3887.     (wild): Call lookup_name with force_load argument of 0.
  3888.     (open_input_bfds): Call lookup_name with force_load argument of 1.
  3889.     (print_symbol): Remove declaration of non-existent function.
  3890.     (print_one_symbol): Return true rather than falling off end.
  3891.  
  3892. Thu Feb 10 11:52:38 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3893.  
  3894.     * ldmain.c (main): Use %ld when printing long values.
  3895.  
  3896.     * scripttempl/elf.sc: Move _edata after the .sdata section.
  3897.     Permit OTHER_BSS_SYMBOLS to be defined.
  3898.     * emulparams/elf32mipb.s (OTHER_BSS_SYMBOLS): Define _fbss.
  3899.  
  3900. Mon Feb  7 16:31:15 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  3901.  
  3902.     * Rename all "hppaosf" files to "hppaelf".
  3903.     * Change all "osf" references to "elf" in hppaelf files.
  3904.     * Makefile.in: Likewise.
  3905.     * configure.in: Likewise.
  3906.  
  3907. Sun Feb  6 20:31:56 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
  3908.  
  3909.     * ldmain.c (main): Call xatexit, not atexit.
  3910.     Call xmalloc_set_program_name.
  3911.  
  3912.     * ldlang.c (lang_size_sections): Check if bfd_relax_section set
  3913.     bfd_errno. 
  3914.  
  3915. Sat Feb  5 03:54:34 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
  3916.  
  3917.     * emultempl/lnk960.em (append), emultempl/hppaosf.em
  3918.     (hppaosf_finish): Call xmalloc, not ldmalloc.
  3919.     * ldmain.c (preserve_output): Function removed.
  3920.     (main): Do it here instead.
  3921.  
  3922. Fri Feb  4 23:02:19 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  3923.  
  3924.     * ldlang.h (LANG_FOR_EACH_{INPUT,OUTPUT}_SECTION): Delete (unused)
  3925.     GNU C specific macros.
  3926.  
  3927.     * emultempl/hppaosf.em (hppaosf_finish): Expand the only remaining
  3928.     call to LANG_FOR_EACH_INPUT_SECTION.
  3929.  
  3930. Fri Feb  4 16:26:08 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
  3931.  
  3932.     * ldmisc.c (ldmalloc, xmalloc, ldrealloc, xrealloc): Functions
  3933.     deleted; will use libiberty versions instead.
  3934.     * ldctor.c ldfile.c ldlang.c ldmain.c ldmisc.c ldmisc.h lexsup.c
  3935.     mri.c Makefile.in: Change callers.
  3936.  
  3937.     * ldmisc.c (vfinfo): Remove cleanup code.
  3938.     * ldmain.c (remove_output): Put it here (new function).
  3939.     (preserve_output): New function.
  3940.     (main): Register remove_output and preserve_output with atexit.
  3941.     * ldmain.c ldgram.y: Call xexit instead of exit.
  3942.     * ldmisc.h: Declare xexit.
  3943.  
  3944. Fri Feb  4 15:19:01 1994  Steve Chamberlain  (sac@cygnus.com)
  3945.  
  3946.     * Makefile.in: Lots of new H8/500 memory models.
  3947.  
  3948. Sun Jan 30 14:33:40 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  3949.  
  3950.     * ldlex.l: Removed duplicate rules.
  3951.     (yywrap): Provide default definition, needed with some versions of
  3952.     flex.
  3953.  
  3954. Fri Jan 28 09:12:56 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
  3955.  
  3956.     * ldmisc.c (vfinfo): For `%I', if the file is in an archive, print
  3957.     the archive filename too.
  3958.  
  3959.     * ldlex.l: Add rule to catch invalid input characters instead of
  3960.     printing them.  Include "ldmain.h" for program_name decl.
  3961.     (lex_warn_invalid): New function.
  3962.     * Makefile.in: Add dependency.
  3963.  
  3964. Fri Jan 28 12:58:45 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  3965.  
  3966.     * Makefile.in (check): Don't bother running any tests of
  3967.     cross-linker until the test suite no longer assumes native mode.
  3968.  
  3969. Thu Jan 27 17:19:54 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
  3970.  
  3971.     * ldlang.c (print_one_symbol, print_input_section):  Print
  3972.     global symbols in symbol table again.
  3973.  
  3974. Thu Jan 27 12:35:01 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
  3975.  
  3976.     * ldmain.c ldmain.h ldgram.y: If -v -V or --version was given, 
  3977.     exit successfully instead of complaining if no input files are
  3978.     given. 
  3979.  
  3980. Tue Jan 25 13:19:41 1994  Stan Shebs  (shebs@andros.cygnus.com)
  3981.  
  3982.     * Makefile.in: Format variable definitions consistently.
  3983.     (LD_PROG): Remove unnecessary variables from link command,
  3984.     change variable LOADLIBES to EXTRALIBS.
  3985.  
  3986.     * ldmain.c (main): Compute and display total execution time.
  3987.     * ld.texinfo (-stats): Document the option.
  3988.  
  3989. Mon Jan 24 12:56:37 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3990.  
  3991.     * ldmain.c (reloc_overflow): Added name, reloc_name and addend
  3992.     arguments.
  3993.  
  3994.     * ldlang.c (lookup_name): Set BFD GP size to -G argument value
  3995.     after opening BFD.
  3996.  
  3997.     * ldlang.c (relaxing): Removed global variable.
  3998.     (lang_size_sections): If the canonical symbols have not already
  3999.     been read in, read them in before relaxing.
  4000.     * ldlang.h (relaxing): Removed declaration.
  4001.  
  4002. Fri Jan 21 00:44:44 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  4003.  
  4004.     * ldlang.c (new_afile): Initialize loaded field to false.
  4005.     (lookup_name): If file was already loaded, don't call the
  4006.     add_symbols entry point again.
  4007.  
  4008. Wed Jan 19 13:57:00 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
  4009.  
  4010.     * ld.texinfo: Clarify what -T option does.
  4011.  
  4012. Tue Jan 18 16:18:15 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
  4013.  
  4014.     * scripttempl/m88kbcs.sc: Don't use CREATE_OBJECT_SYMBOLS, that's
  4015.     for a.out.
  4016.  
  4017. Tue Jan 11 13:22:04 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  4018.  
  4019.     * ldmain.c (add_archive_element): If trace_files or
  4020.     trace_file_tries, print file name.
  4021.     * ldlang.c (lookup_name): Likewise.
  4022.     (ldlang_add_file): Don't put files on input_bfds list in reverse
  4023.     order.
  4024.  
  4025.     * scripttempl/elf.sc: Correct typo.
  4026.  
  4027. Mon Jan 10 19:49:05 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
  4028.  
  4029.     * ldgram.y, ldlex.l: Make the space between -e, -u, and -y and
  4030.     their arguments optional, for compatibility with the old GNU ld.
  4031.  
  4032. Fri Jan  7 20:00:24 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  4033.  
  4034.     * scripttempl/elf.c: Define __bss_start before the .sbss section.
  4035.  
  4036. Thu Jan  6 00:13:10 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  4037.  
  4038.     * ldmain.c (add_to_set): Add bitsize argument.
  4039.     (constructor_callback): New function.
  4040.     (link_callbacks): Add constructor_callback.
  4041.     * ldctor.c (struct set_info): Add bitsize field.
  4042.     (ldctor_add_set_entry): Add bitsize argument.
  4043.     (ldctor_build_sets): Base the size of the elements of the set on
  4044.     the bitsize, rather than always using LONG.
  4045.     * ldctor.h (ldctor_add_set_entry): Add bitsize to declaration.
  4046.  
  4047.     * ld.h (QUAD_SIZE): Define.
  4048.     * ldgram.y (QUAD): New token.
  4049.     (length): Handle it.
  4050.     * ldlex.l: Return QUAD.
  4051.     * lexsup.c (keywords): Add QUAD.
  4052.     * ldwrite.c (build_link_order): Handle QUAD.
  4053.     * ldlang.c (print_data_statement): Handle QUAD.
  4054.     (lang_size_sections): Likewise.
  4055.     (lang_do_assignments): Likewise.
  4056.     * ldexp.c (exp_print_token): Add QUAD to table.
  4057.     * ld.texinfo: Describe QUAD.
  4058.  
  4059.     * scripttempl/alpha.sc: Don't create .lit4 or .sdata sections,
  4060.     since the Alpha doesn't use them.
  4061.  
  4062. Wed Jan  5 17:42:16 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
  4063.  
  4064.     * ldemul.h (ld_emulation_xfer_struct): Comment the members.
  4065.  
  4066. Sat Jan  1 13:39:31 1994  Rob Savoye  (rob@darkstar.cygnus.com)
  4067.  
  4068.     * Makefile.in, configure.in: Add support for VSTa micro-kernel.
  4069.     * config/vsta.mt, emulparams/vsta.sh: New files for VSTa.
  4070.  
  4071. Sat Jan  1 10:53:35 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
  4072.  
  4073.     * scripttempl/aout.sc: Pad .text to DATA_ALIGNMENT if relocating;
  4074.     needed for i386mach.  (Should be a no-op on other systems.)
  4075.  
  4076.     * emulparams/i386mach.sh (SEGMENT_SIZE): Fix again.
  4077.     (PAGE_SIZE): Don't define; not used.
  4078.  
  4079. Fri Dec 31 16:12:06 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  4080.  
  4081.     * ldgram.y (yyerror): Make argument const char *, and actually
  4082.     print it out rather than assuming it is a syntax error.
  4083.     * ldmisc.h: Change declaration of yyerror.
  4084.     * ldemul.c, ldwrite.c: Add /*ARGSUSED*/ as appropriate.
  4085.  
  4086. Fri Dec 31 11:37:28 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
  4087.  
  4088.     * emulparams/i386mach.sh (NONPAGED_TEXT_START_ADDR): Don't include
  4089.     exec header offset, since the exec header isn't loaded.
  4090.     (PAGE_SIZE, SEGMENT_SIZE): Agree with bfd/i386mach3.c.
  4091.  
  4092. Thu Dec 30 13:01:43 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  4093.  
  4094.     A major rewrite to move the bulk of the linker into BFD so that
  4095.     more efficient backend code can be written for specific object
  4096.     files.
  4097.     * lderror.c, lderror.h, ldindr.c, ldindr.h, ldsym.c, ldsym.h,
  4098.     ldwarn.c, ldwarn.h, relax.c, relax.h: Removed.
  4099.     * ldctor.c, ldctor.h: Complete rewrite.
  4100.     * ldwrite.c, ldwrite.h: Complete rewrite.
  4101.     * ld.h (strip_symbols_type, strip_symbols): Removed.  Use
  4102.     link_info.strip instead.  Changed all uses.
  4103.     (discard_locals_type, discard_locals): Removed.  Use
  4104.     link_info.discard instead.  Changed all uses.
  4105.     (ld_config_type): Removed relocateable_output field; use
  4106.     link_info.relocateable instead; changed all uses.  Added stats
  4107.     field.
  4108.     (set_asymbol_chain, get_asymbol_chain, get_loader_symbol,
  4109.     set_loader_symbol): Removed.
  4110.     * ldexp.h (node_class): Added etree_rel.
  4111.     (etree_type): Added rel field.
  4112.     * ldexp.c (exp_print_token): Bracketed table initialization.
  4113.     (exp_relop): New function.
  4114.     (fold_name): Use linker hash table rather than ldsym functions.
  4115.     (exp_fold_tree): Likewise.  Also, handle etree_rel case.
  4116.     (exp_print_tree): Handle etree_rel.
  4117.     * ldgram.y (strip_symbols, discard_locals): Removed.
  4118.     (OPTION_stats, OPTION_no_keep_memory): New tokens.  Handle them.
  4119.     (REL): New token.  Does not appear in grammar, but needed for
  4120.     expression code.
  4121.     (file): Don't call lang_final; it's called by main anyhow.
  4122.     * ldlex.l: Accept -stats and -no-keep-memory options.
  4123.     * ldlang.h (fill_type): Make unsigned int, not unsigned short.
  4124.     * ldlang.c: Consistently use fill_type for fill argument.
  4125.     (lang_init_script_file, script_file): Removed.
  4126.     (create_object_symbols): Removed.  Use
  4127.     link_info.create_object_symbols_section instead.  Changed all
  4128.     uses.
  4129.     (lang_add_keepsyms_file): Removed.
  4130.     (lookup_name): Call bfd_link_add_symbols instead of
  4131.     ldmain_open_file_read_symbol.
  4132.     (wild): Don't iterate over script_file.
  4133.     (open_output): Create link hash table.
  4134.     (lang_place_undefineds): Rewrote.
  4135.     (lang_size_sections): Handle relaxing (doesn't work yet).
  4136.     (lang_relocate_globals): Removed.
  4137.     (lang_finish): Use link hash table rather than ldsym functions.
  4138.     (lang_common): Rewrote.
  4139.     (lang_one_common): New function.
  4140.     (ldlang_add_file): Add file to link_info.input_bfds list.  Set
  4141.     usrdata.
  4142.     (create_symbol): Removed.
  4143.     (lang_process): Don't call lang_init_script_file.  Call
  4144.     ldctor_build_sets rather than find_constructors.  Don't call
  4145.     lang_relocate_globals.
  4146.     (lang_abs_symbol_at_beginning_of): Rewrote.
  4147.     (lang_abs_symbol_at_end_of): Rewrote.
  4148.     * ldmain.c (had_y): Removed.
  4149.     (lprefix, lprefix_len): Removed; use link_info fields instead.
  4150.     Changed all uses.
  4151.     (multiple_def_count, commons_pending, undefined_global_sym_count,
  4152.     total_symbols_seen, total_files_seen): Removed.
  4153.     (link_callbacks, link_info): New variables.
  4154.     (main): Initialize link_info.  Don't call init_bfd_error_vector or
  4155.     ldsym_init.  Don't set now unused variables.  Handle -stats.
  4156.     (get_emulation): Removed obsolete and nonfunctional GNU960 code.
  4157.     (add_ysym): Rewrote.
  4158.     (read_entry_symbols, refize, enter_global_ref, enter_file_symbols,
  4159.     search_library, gnu960_check_format, decode_library_subfile,
  4160.     linear_library, symdef_library, clear_syms, subfile_wanted_p):
  4161.     Removed.
  4162.     (add_keepsyms_file, add_archive_element, multiple_definition,
  4163.     multiple_common, add_to_set, warning_callback, undefined_symbol,
  4164.     reloc_overflow, reloc_dangerous, unattached_reloc, notice_ysym):
  4165.     New functions.
  4166.     * ldmisc.c (vfinfo): Accept a string for %T, not a symbol.  Don't
  4167.     require symbols for %C; look them up instead.
  4168.     * emultempl/hppaosf.em: Pass link_info to
  4169.     hppa_look_for_stubs_in_section.
  4170.     * Makefile.in: Rebuilt dependencies.
  4171.     (CFILES): Removed lderror.c, ldindr.c, ldsym.c, ldwarn.c, and
  4172.     relax.c.
  4173.     (HFILES): Removed lderror.h, ldindr.h, ldsym.h, ldwarn.h, and
  4174.     relax.h.
  4175.     (EMULATION_OFILES): Depend on bfdlink.h, ldmain.h, ldexp.h,
  4176.     ldlang.h and ldctor.h.
  4177.  
  4178.     * Makefile.in (ldlex.c): Don't depend on ldgram.h.  Remove
  4179.     declarations of free and malloc from flex output.  Change malloc
  4180.     to ldmalloc in flex output.
  4181.  
  4182. Thu Dec 16 21:19:57 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  4183.  
  4184.     * ldmain.c (lprefix): Change default from a char to a string
  4185.     with only one character.
  4186.     (lprefix_len): Set default to one.
  4187.  
  4188.     * ldmain.h (lprefix_len): Declare.
  4189.  
  4190.     * ldsym.c (write_file_locals): Use strncmp rather than a character
  4191.     comparison for lprefix.
  4192.  
  4193.     * emultmpl/m88kbcs.em (before_parse): Set lprefix and lprefix_len
  4194.     correctly.
  4195.  
  4196.     * emultmpl/hppaosf.em: Include ldexp.h.
  4197.     (before_parse): Set lprefix and lprefix_len correctly.
  4198.  
  4199. Tue Dec 14 17:19:03 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  4200.  
  4201.     * ldlex.h: Don't declare yywrap if it is a macro.
  4202.     * ldlex.l: Include sysdep.h.
  4203.     * ldlang.c (lang_for_each_statement_worker,
  4204.     lang_for_each_statement): Forgot to use PARAMS.
  4205.  
  4206. Mon Dec 13 14:30:03 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  4207.  
  4208.     * Makefile.in: Added .PHONY targets where appropriate.  Added some
  4209.     comments.  Also:
  4210.     (gcclibdir, version): Removed unused variables.
  4211.     (DEP): New variable, set to mkdep.
  4212.     (ALL_CFLAGS): New variable.  Used in .c.o target.
  4213.     (CFILES, HFILES, GENERATED_CFILES, GENERATED_HFILES): New
  4214.     variables.
  4215.     (HEADERS, MANSOURCES, LDCSOURCES, GENERATED_SOURCES,
  4216.     GENERATED_HEADERS, LDSOURCES, BFD_SOURCES, SOURCES): Removed
  4217.     mostly obsolete variables.  Adjusted remaining uses.
  4218.     (DEF_EMUL): Removed variable.
  4219.     (ldmain.o): Handle undefined EMUL error correctly.
  4220.     (ldemul-list.h): Depend on config.status rather than Makefile.
  4221.     Create via temporary file.
  4222.     (ver960.c, roll, make): Removed obsolete targets.
  4223.     (.dep, .dep1, dep.sed, dep, dep-in): New targets.  Used to rebuild
  4224.     dependencies.
  4225.     * dep-in.sed: New file, used when rebuilding dependencies.
  4226.  
  4227. Sat Dec 11 14:43:44 1993  Ian Lance Taylor  (ian@deneb.cygnus.com)
  4228.  
  4229.     Made many changes to eliminate gcc warnings.  Made various
  4230.     cosmetic changes, declared various things in header files, removed
  4231.     various extern declarations from .c files.  No substantive
  4232.     changes.
  4233.  
  4234.     * ldlang.c (lang_process): Ifdef out final call to
  4235.     lang_size_sections again (reverting change of Nove 2), since it
  4236.     breaks the Sun4 linker.
  4237.  
  4238. Thu Dec  2 16:31:47 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  4239.  
  4240.     * configure.in (alpha-*-netware*): New target; use alpha.
  4241.  
  4242. Wed Dec  1 14:04:20 1993  Ken Raeburn  (raeburn@cygnus.com)
  4243.  
  4244.     * configure.in: Group targets by CPU.  Merge some m68k target
  4245.     entries with different CPU specs that use the same ld_target
  4246.     values.
  4247.  
  4248.     * configure.in: Add sparc*-*-coff.
  4249.     * config/coff-sparc.mt, emulparams/coff_sparc.sh: New files.
  4250.     * Makefile.in (ALL_EMULATIONS): Add em_coff_sparc.o.
  4251.     (em_coff_sparc.c): Add dependencies and build rules.
  4252.  
  4253.     * ldmisc.c (errno, sys_nerr, sys_errlist): Don't declare. 
  4254.  
  4255. Wed Dec  1 12:19:55 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  4256.  
  4257.     * ldgram.y (OPTION_call_shared, OPTION_non_shared, OPTION_Oval):
  4258.     New tokens.
  4259.     (command_line_option): Accept and ignore them (for now).
  4260.     * ldlex.l (<COMMAND>): Handle -non_shared, -call_shared, and -On
  4261.     where n is a number.
  4262.  
  4263. Mon Nov 22 14:14:29 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  4264.  
  4265.     * ldmain.c (subfile_wanted_p): If merging a common symbol which is
  4266.     not in bfd_com_section, create the section in the BFD so that it
  4267.     can be placed in the right output section.
  4268.  
  4269. Fri Nov 19 14:12:39 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  4270.  
  4271.     * configure.in (mips*-sgi-irix5*): New target.  Use mipsb-elf32.
  4272.     * emulparams/elf32mipsb.sh (DATA_ADDR): Define.
  4273.     (OTHER_READONLY_SECTIONS): Define for .reginfo.
  4274.     (EXECUTABLE_SYMBOLS): Define for _DYNAMIC_LINK.
  4275.     * scripttempl/elf.sc: Use EXECUTABLE_SYMBOLS when not relocating.
  4276.     Move OTHER_READONLY_SECTIONS after all the other readonly
  4277.     sections.  Don't use DATA_ADDR twice.
  4278.  
  4279.     * ldmain.c (enter_file_symbols): Removed duplicate tests of p.  If
  4280.     p is in a common section, make sure the BFD has a section of that
  4281.     name.
  4282.  
  4283.     * ldlang.c (lang_common): Add newline to error message.
  4284.  
  4285. Thu Nov 11 15:54:41 1993  Stan Shebs  (shebs@rtl.cygnus.com)
  4286.  
  4287.     * emulparams/m68klynx.sh (SCRIPT_NAME): Define to use a
  4288.     Lynx-specific script instead of m68kcoff.
  4289.     (OUTPUT_FORMAT): Define as "coff-m68k-lynx".
  4290.     (ENTRY): Define as __main.
  4291.     (TEXT_START_ADDR): Define as 0.
  4292.     (PAGE_SIZE): Define as 0x1000.
  4293.     * emulparams/i386lynx.sh, emulparams/sparclynx.sh: Fix comment.
  4294.     * scripttempl/m68klynx.sc: New file.
  4295.  
  4296. Mon Nov  8 12:00:16 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  4297.  
  4298.     * ldmain.c (get_emulation): Ignore -mips1, -mips2 and -mips3
  4299.     arguments rather than treating them as emulation names.
  4300.  
  4301. Fri Nov  5 09:02:52 1993  D. V. Henkel-Wallace  (gumby@blues.cygnus.com)
  4302.  
  4303.     * configure.in: Support x86 unixware and netware plus generic netware.
  4304.  
  4305. Fri Nov  5 21:47:55 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
  4306.  
  4307.     * emulparams/i386mach.sh (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): 
  4308.     Correct values (?).
  4309.  
  4310. Wed Nov  3 15:10:15 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
  4311.  
  4312.     * Makefile.in (distclean): Don't delete dvi or info files.
  4313.     (ld.info): Update dependency list.
  4314.     (ld.dvi): Ditto.  Extend TEXINPUTS to get bfdsumm.texi.
  4315.  
  4316. Wed Nov  3 12:07:39 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
  4317.  
  4318.     * ldlang.c (lang_add_output): Take new arg, FROM_SCRIPT.
  4319.     Set output_filename instead of creating a new node.
  4320.     (open_output): Don't set output_filename.
  4321.     (lang_final): Create the new node here.
  4322.     * ldlang.c, ldlang.h, ldgram.y, mri.c: pass FROM_SCRIPT.
  4323.  
  4324. Tue Nov  2 15:45:51 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  4325.  
  4326.      From Pete Hoogenboom (hoogen@cs.utah.edu):
  4327.  
  4328.     * scripttempl/hppaosf.sc: (___stack_zero, etext, _etext,
  4329.     edata, _edata, end): Add definitions of these symbols.
  4330.     (__end):  Remove definition of this symbol.
  4331.     (__data_start): Move definition of this symbol.
  4332.  
  4333.     * emultempl/hppaosf.em:  Various fixes and support for linker stub
  4334.     generation.
  4335.     (hppaosf_finish, hppaosf_search_for_padding_statements,
  4336.     hppaosf_create_output_section_statements): New functions in
  4337.     support of linker stub generation.
  4338.     (ld_hppaosf_emulation):  Redefine to include new
  4339.     emulation-specific routines.
  4340.  
  4341.     * ldlang.c (lang_process): Re-enable last call lang_size_sections.
  4342.     Pass abs_output_section rather than NULL to avoid invalidating
  4343.     absolute symbols.
  4344.  
  4345. Thu Oct 28 21:16:42 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
  4346.  
  4347.     * Makefile.in (ALL_EMULATIONS): Add em_i386mach.o.
  4348.     (em_i386mach.c): New rule.
  4349.     * configure.in (i[34]86-*-mach*): New case.
  4350.     * config/i386-mach.mt: New file.
  4351.     * emulparams/i386mach.sh: New file.
  4352.  
  4353. Fri Oct 29 14:55:05 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  4354.  
  4355.     * ld.h (flag_is_*): Removed macros.
  4356.     * ldmain.c (enter_global_ref), ldsym.c (write_file_locals):
  4357.     Consistently check the BFD symbol flags directly, rather than
  4358.     using file_is_* macros.
  4359.  
  4360. Thu Oct 28 19:08:42 1993  Stan Shebs  (shebs@rtl.cygnus.com)
  4361.  
  4362.     * configure.in (sparc*-*-lynxos*): New target.
  4363.     * Makefile.in: Add rule for em_sparclynx.c.
  4364.     (ALL_EMULATIONS): Add Lynx emulations.
  4365.     * config/sparc-lynx.mt: New file.
  4366.     * emulparams/sparclynx.sh: New file.
  4367.     * scripttempl/sparccoff.sc: New file.
  4368.  
  4369. Thu Oct 28 13:50:25 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  4370.  
  4371.     * Makefile.in: Add dependency for $(EMULATION_OFILES).
  4372.  
  4373. Mon Oct 25 16:09:24 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  4374.  
  4375.     * relax.c (write_relax): Check return value of bfd_seclet_link.
  4376.  
  4377. Mon Oct 25 09:31:21 1993  Ken Raeburn  (raeburn@cygnus.com)
  4378.  
  4379.     * ldlang.c (delete_output_file_on_failure): New variable.
  4380.     (open_output): Set it after bfd open succeeds.
  4381.     * ldmisc.c (vfinfo): Test it.
  4382.  
  4383.     Changes from Peter Hoogenboom, hoogen@cs.utah.edu:
  4384.  
  4385.     * ldsym.c (write_file_locals): Set the BSF_FILE flag for object
  4386.     symbols.
  4387.  
  4388.     * ldemul.c: Support was added to allow emulation-specific
  4389.     processing to occur.  This support was added primarily for linker
  4390.     stub generation in the elf32-hppa gld.
  4391.     (ldemul_finish, ldemul_create_output_section_statements):  New
  4392.     functions.
  4393.     * ldemul.h: Support was added to allow emulation-specific
  4394.     processing to occur. (As described above.)  Added finish and
  4395.     create_output_section_statements fields to
  4396.     ld_emulation_xfer_struct structure.
  4397.     * ldlang.c: Add calls to emulation-specific routines.
  4398.     (lang_process):  Add call to
  4399.     ldemul_create_output_section_statements function.
  4400.     (lang_process):  Add call to a emulation-specific routine (and
  4401.     some processing after the call).
  4402.  
  4403. Fri Oct 22 20:54:13 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
  4404.  
  4405.     * configure.in: mips*- instead of mips-, mips*el changes
  4406.  
  4407. Tue Oct 19 15:46:28 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  4408.  
  4409.     * configure.in (alpha-*-osf*): New target; use alpha.mt.
  4410.     * Makefile.in (ALL_EMULATIONS): Added em_alpha.o.
  4411.     (em_alpha.c): New target; use alpha.sh and alpha.sc.
  4412.     * config/alphaosf.mh (NATIVE_LIB_DIRS, HOSTING_CRT0): Define.
  4413.     * config/alpha.mt: New file.
  4414.     * emulparams/alpha.sh: New file.
  4415.     * scripttempl/alpha.sc: New file.
  4416.  
  4417. Fri Oct 15 02:20:04 1993  Doug Evans  (dje@canuck.cygnus.com)
  4418.  
  4419.     * ldlang.c (lang_size_sections, lang_common): ALIGN_N can't handle
  4420.     types of different sizes (eg: 64 and 32 bits), so coerce.
  4421.     * ld.h (ALIGN_N): Add warning about usage.
  4422.  
  4423. Wed Oct 13 16:02:39 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  4424.  
  4425.     * ldmain.c (enter_global_ref): Just ignore any weak symbol for
  4426.     which we already have a definition, rather than checking in
  4427.     several different places whether the symbol is weak.
  4428.  
  4429. Tue Oct 12 17:30:51 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  4430.  
  4431.     * configure.in (mips-*-elf*): New target; use mipsb-elf32.
  4432.     * scripttempl/elf.sc: Only use OTHER_READONLY_SECTIONS and
  4433.     OTHER_READWRITE_SECTIONS if relocating.  Shell variables are not
  4434.     expanded within them.
  4435.     * config/mipsb-elf32.mt: New file.
  4436.     * emulparams/elf32mipb.sh: New file.
  4437.     * Makefile.in (em_elf32mipb.c): New target.
  4438.  
  4439. Thu Sep 30 17:00:36 1993  Rob Savoye  (rob@darkstar.cygnus.com)
  4440.  
  4441.     * ldgram.y: In input_list, change lang_input_file_is_file_enum to
  4442.     lang_input_file_is_search_file_enum so objects brought in using
  4443.     INPUT() do a path lookup.
  4444.  
  4445. Tue Sep 28 13:31:23 1993  Stan Shebs  (shebs@rtl.cygnus.com)
  4446.  
  4447.     * configure.in: Change Lynx ld_target to be {i386,m68k}-lynx
  4448.     instead of {i386,m68k}-coff.
  4449.     * Makefile.in (em_i386lynx.c, em_m68klynx.c): New targets.
  4450.     * config/i386-lynx.mt: New file.
  4451.     * config/m68k-lynx.mt: New file.
  4452.     * emulparams/i386lynx.sh: New file.
  4453.     * emulparams/m68klynx.sh: New file.
  4454.  
  4455.     * scripttempl/i386coff.sc: Make ENTRY get its value from ${ENTRY},
  4456.     but defaulting to _start.
  4457.  
  4458.     * ldemul.c, ldfile.c, ldlang.c, ldmain.c, ldmisc.c, ldmisc.h,
  4459.     ldsym.c, ldwarn.c: Rename info to info_msg, to avoid conflict with
  4460.     LynxOS libc.
  4461.  
  4462. Thu Sep 23 14:51:03 1993  Ian Lance Taylor  (ian@cygnus.com)
  4463.  
  4464.     * config/solaris2.mh: New file.  Define HOSTING_CRT0 and
  4465.     HOSTING_LIBS for testing.
  4466.  
  4467. Fri Sep 17 17:52:24 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  4468.  
  4469.     Finish up support for i386-sysv4 (without shared libraries):
  4470.     * ld.h (flag_is_weak): Define.
  4471.     * ldlang.c (print_symbol): Mention whether symbol is weak.
  4472.     (print_input_section): Print weak symbols as globals.
  4473.     * ldmain.c (refize): Do not zero out BSF_WEAK flag.
  4474.     (enter_global_ref): Do not warn if a weak symbol redefines a
  4475.     global symbol.  Do not let a weak symbol redefine a common symbol.
  4476.     (enter_file_symbols): Treat weak symbols as global symbols.
  4477.     (subfile_wanted_p): Do not pull in an object file from a archive
  4478.     just to resolve an undefined weak symbol.
  4479.     * ldmisc.c (vfinfo): Don't needlessly malloc space after a fatal
  4480.     error; the error might be that malloc has run out of space.
  4481.     * ldsym.c (write_file_locals): Treat weak symbols as global.
  4482.     * configure.in (i[34]86-*-sysv4*, i[34]86-*-elf*): New targets;
  4483.     use i386-elf.
  4484.     * config/i386v4.mh: New file; set NATIVE_LIB_DIRS to /usr/ccs/lib.
  4485.     * config/i386-elf.mt: New file; set EMUL to elf_i386.
  4486.     * emulparams/elf_i386.sh: New file.
  4487.     * scripttempl/elf.sc: Use ${NOP} as filler (defaults to 0).
  4488.     * Makefile.in (NATIVE_LIB_DIRS): Define to be empty.
  4489.     (ALL_EMULATIONS): Add em_elf_i386.o.
  4490.     (GENSCRIPTS): Pass NATIVE_LIB_DIRS as sixth argument.
  4491.     (em_elf_i386.c): New target, like other em_*.c targets.
  4492.     ($(LD_PROG)): Pass $(CFLAGS) to $(CC).
  4493.     * genscripts.sh: Accept NATIVE_LIB_DIRS as sixth argument.  If
  4494.     nonempty, and configured for native, add it to LIB_PATH.
  4495.  
  4496. Fri Sep 17 13:07:39 1993  Stan Shebs  (shebs@rtl.cygnus.com)
  4497.  
  4498.     * scripttempl/{h8300.sc,h8500.sc,i386coff.sc,m68kcoff.sc,sh.sc}:
  4499.     Added statements to pass stab and stabstr sections through and
  4500.     mark them as NOLOAD, which makes GDB happier.
  4501.  
  4502. Wed Sep 15 16:02:29 1993  Stan Shebs  (shebs@rtl.cygnus.com)
  4503.  
  4504.     * configure.in: Accept m68k-lynx-lynxos config.
  4505.  
  4506.     * Makefile.in: Use $(SHELL) to run genscripts.sh.
  4507.  
  4508. Sun Sep 12 16:04:40 1993  Doug Evans  (dje@cygnus.com)
  4509.  
  4510.     * config/coff-h8300.mt: Add EMUL=h8300h.
  4511.  
  4512.     * ldmain.c (main): Call set_scripts_dir after argv has been processed.
  4513.  
  4514. Fri Sep 10 09:36:29 1993  Jeffrey Wheat  (cassidy@cygnus.com)
  4515.  
  4516.     * Makefile.in: Changed CXX back to g++. 
  4517.  
  4518. Fri Sep 10 09:34:29 1993  Jeffrey Wheat  (cassidy@cygnus.com)
  4519.  
  4520.     * Makefile.in: Fixed RUNTEST* CXX CXXFLAGS macros and check rule.
  4521.  
  4522. Fri Sep 10 07:26:57 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
  4523.  
  4524.     * Makefile.in (TAGS): Use shell wildcards.
  4525.  
  4526. Tue Sep  7 18:04:54 1993  Jeffrey Osier  (jeffrey@cygnus.com)
  4527.  
  4528.     * Makefile.in:  add TEXINPUTS variable and use it in ld.dvi target
  4529.  
  4530. Fri Sep  3 16:46:41 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
  4531.  
  4532.     * ld.texinfo: re-enable included config file; conditionalize doc
  4533.     for -oformat to interact properly with SingleFormat doc config
  4534.     var; rename @up/@down to @raisesections/@lowersections.
  4535.  
  4536. Wed Aug 25 16:29:56 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
  4537.  
  4538.     * configure.in: recognize m88110.
  4539.  
  4540. Tue Aug 24 18:49:40 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  4541.  
  4542.     From Peter Hoogenboom <hoogen@shafer.cs.utah.edu>:
  4543.     * emultempl/hppaosf.em (ld_hppaosf_emulation): Correct name for PA
  4544.     ELF emulation is "elf32-hppa" not "elf-big".
  4545.     (hppaosf_before_parse): Remove unneeded processing of environment
  4546.     variables.
  4547.     * scripttempl/hppaosf.sc: Include .hppa_linker_stubs sections in
  4548.     .text segment of output file.
  4549.     * emulparams/hppaosf.sh (OUTPUT_FORMAT): Use elf32-hppa.
  4550.  
  4551. Tue Aug 24 16:17:00 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
  4552.  
  4553.     * ld.h: define BYTE_SIZE, SHORT_SIZE, and LONG_SIZE which are no
  4554.       longer in bfd.h.
  4555.  
  4556.     * ldlang.c, ld.h: updated copyright.
  4557.  
  4558. Tue Aug 17 15:22:03 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  4559.  
  4560.     * ldlang.c (open_output, lang_check): Check return value of
  4561.     bfd_set_arch_mach.
  4562.  
  4563. Tue Aug 17 07:02:19 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
  4564.  
  4565.     * scripttempl/h8500.sc: Start all sections in a different segment.
  4566.     * scripttempl/z8ksim.sc: Handle constructors
  4567.  
  4568. Thu Aug 12 16:05:37 1993  Jeffrey Wheat  (cassidy@cygnus.com)
  4569.  
  4570.         * Makefile.in: revert earlier changes back to execute runtest
  4571.           with make check. cdtest and bootstrap now function as they
  4572.       did within the Makefile.
  4573.  
  4574. Thu Aug 12 10:20:05 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
  4575.  
  4576.     * Makefile.in:     Update dependencies.
  4577.  
  4578.     * configure.in: Set EMULATION_OFILES in Makefile based on
  4579.     --with-targets option.
  4580.  
  4581. Thu Aug 12 08:52:29 1993  Jeffrey Wheat  (cassidy@cygnus.com)
  4582.  
  4583.     * Makefile.in: check targets reimplemented to old way.
  4584.  
  4585. Wed Aug 11 08:26:11 1993  Ian Lance Taylor  (ian@cygnus.com)
  4586.  
  4587.     * config/i386v.mh, config/irix4.mh: Use gcc
  4588.     -print-libgcc-file-name rather than $(libdir)/libgcc.a.
  4589.     * config/i386sco.mh: New file; copy of i386v.mh to correspond to
  4590.     bfd/configure.host change.
  4591.  
  4592. Mon Aug  9 14:25:35 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  4593.  
  4594.     * scripttempl/elf.sc: Handle .line and .debug* sections.
  4595.  
  4596.     * ldlex.l: Use bfd_scan_vma, not strtoul.
  4597.  
  4598. Fri Aug  6 08:57:39 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
  4599.  
  4600.     * ldexp.c, ldfile.c, ldlang.c, lexsup.c, ldmain.c, ldemul.c:
  4601.     Remove inital caps in some error messages, change "can't" to
  4602.     "cannot", add missing colons.
  4603.     * ldmisc.c (vfinfo): Print "%%" as a single %.
  4604.     For '%' followed by unrecognized character, print them both
  4605.     verbatim instead of expecting a char * arg.
  4606.     For '%C', don't put the function name in parens.
  4607.  
  4608.     * ldexp.c (invalid): Pass "%%", not "% ".
  4609.  
  4610. Fri Aug  6 14:31:22 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  4611.  
  4612.     * scripttempl/mips.sc: Always define _ftext, _fdata, _fbss.
  4613.     (BSS_VAR): Removed; now always define _fbss.
  4614.     * emulparams/mipsidt.sh, emulparams/mipsidtl.sh (BSS_VAR):
  4615.     Removed.
  4616.  
  4617. Thu Aug  5 15:55:19 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
  4618.  
  4619.     * configure.in: z8k-coff is the same as z8k-sim
  4620.  
  4621. Wed Aug  4 21:00:18 1993  Jeffrey Wheat  (cassidy@cygnus.com)
  4622.  
  4623.     * testsuite/lib/ld.exp: new file
  4624.     * testsuite/config/unix-ld.exp: new file
  4625.     * testsuite/ld.bootstrap/bootstrap.exp: new file
  4626.     * Makefile.in: add dejagnu support for make check
  4627.  
  4628. Wed Aug  4 17:52:32 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
  4629.  
  4630.     * ldlex.l (comment): Add missing newline in message.
  4631.     * ldindr.c (add_indirect): Ditto.
  4632.     * ldexp.c (exp_fold_tree): Ditto.
  4633.  
  4634. Tue Aug  3 10:57:41 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
  4635.  
  4636.     * ldgram.y, ldlex.l, mri.c, ldwrite.c: Change multiple commons
  4637.     into externs.
  4638.  
  4639.     * ldmisc.c (multiple_warn): New function.
  4640.     * ldmisc.h: Declare it.
  4641.     * ldmain.c (enter_global_ref): Call it.
  4642.     * ld.h (ld_config_type): Add warn_common.
  4643.     * ldlex.l, ldgram.y: Set it with -warn-common option.
  4644.     * ldver.c (help): Document it.
  4645.  
  4646. Mon Aug  2 12:04:36 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  4647.  
  4648.     * scripttempl/elf.sc: Add hooks for .sdata, .sbss, and
  4649.     target-specific sections, and for changing data section vma.
  4650.  
  4651. Mon Jul 26 14:00:02 1993  Ken Raeburn  (raeburn@deneb.cygnus.com)
  4652.  
  4653.     * ldgram.y (OPTION_Qy, OPTION_Y, OPTION_dn, OPTION_YP): New
  4654.     terminals, for Solaris.
  4655.     (dirlist_ptr): New static variable.
  4656.     (command_line_option): Accept new options.
  4657.  
  4658.     * ldlex.l: Accept command-line options "-Qy", "-dn", "-Y", and
  4659.     "-YP,...".
  4660.  
  4661.     * config/sun4sol2.mt: Pass emulation name without ".sh".
  4662.  
  4663.     * emulparams/elf32_sparc.c: Renamed from elf32-sparc.c.
  4664.     * config/sun4sol2.mt (em_elf32_sparc.c): Adjusted accordingly.
  4665.  
  4666. Fri Jul 23 13:51:09 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  4667.  
  4668.     * scripttempl/elf.sc: Add support for .init, .fini, .ctors,
  4669.     .dtors, .data1, .rodata1 sections, instead of combining them into
  4670.     other sections.  For `-r', set all section start addresses to
  4671.     zero.
  4672.  
  4673.     * emulparams/elf32-sparc.sh (TEXT_START_ADDR,
  4674.     NONPAGED_TEXT_START_ADDR): Value should be 0x10100.
  4675.     (MAXPAGESIZE): Renamed from PAGE_SIZE.
  4676.  
  4677. Wed Jul 21 14:28:42 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
  4678.  
  4679.     * genscripts.sh: If this is the default emulation, set
  4680.     COMPILE_IN.
  4681.     * emultempl/*.em: Use it to determine whether to compile in the
  4682.     scripts.
  4683.  
  4684.     * Makefile.in (GENSCRIPTS): Pass the default emulation name to
  4685.     genscripts.sh.  Pass the current emulation name without ".sh" on
  4686.     the end.
  4687.     * genscripts.sh: Take an default emulation arg.
  4688.     Use the current emulation name as EMULATION_NAME.
  4689.     Make default lib path for cross-compiling ':', not null.
  4690.     * emulparams/*.sh: Don't set EMULATION_NAME.
  4691.     * ldemul.c (ldemul_get_script): Take isfile arg.
  4692.     Pass it to emulation's get_script function.
  4693.     * ldemul.h: Adjust get_script prototypes.
  4694.     * ldfile.c (ldfile_find_command_file): Renamed from find_a_name.
  4695.     No longer static.
  4696.     * ldfile.h: Declare it.
  4697.     * ldgram.y: Accept a script on the command line again,
  4698.     for parsing compiled-in scripts.
  4699.     * ldmain.c (main): If ld script is a file, parse it as a -T
  4700.     option, otherwise parse it directly.
  4701.     * emultempl/*.em (*get_script): Return the scripts themselves if
  4702.     this is the default emulation; otherwise return their file names.
  4703.     * emultempl/m88kbcs.em: New file, to take m88kbcs #ifdef out of
  4704.     generic.em.
  4705.     * emulparams/m88kbcs.sh: Use it.
  4706.  
  4707.     * ld.h (ld_config_type::unix_relocate): Remove unused element.
  4708.  
  4709. Tue Jul 20 12:01:49 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  4710.  
  4711.     * Makefile.in (ALL_EMULATIONS): Delete em_i386linux.o (for which
  4712.     there's no change log entry yet, tsk tsk) from the list of
  4713.     emulations compiled in until Mark gets around to checking in
  4714.     emulparams/i386linux.sh.
  4715.     (ldemul-list.h): Depend on Makefile, so if EMULATION_OFILES is
  4716.     changed, this file gets updated.
  4717.  
  4718. Fri Jul 16 14:14:32 1993  Ian Lance Taylor  (ian@cygnus.com)
  4719.  
  4720.     * ldgram.y (OPTION_Lfile): New token.
  4721.     (command_line_option): Accept OPTION_L NAME (whitespace after -L).
  4722.     * ldlex.l (<COMMAND>): Accept -L without FILENAME.
  4723.  
  4724. Fri Jul 16 13:44:26 1993  Doug Evans  (dje@canuck.cygnus.com)
  4725.  
  4726.     * configure.in: h8/300h support needs own .mt file.
  4727.     config/coff-h8300h.mt: New file.
  4728.  
  4729. Thu Jul 15 12:44:35 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
  4730.  
  4731.     * ldmain.c: Don't include sys/stat.h; it already got included
  4732.     somewhere along the way.
  4733.  
  4734. Thu Jul 15 14:43:34 1993  Doug Evans  (dje@canuck.cygnus.com)
  4735.  
  4736.     * Makefile.in: Add h8300h support.
  4737.     emulparams/h8300h.sh: New file.
  4738.     scripttempl/h8300h.sc: New file.
  4739.  
  4740. Thu Jul 15 12:44:35 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
  4741.  
  4742.     * ldfile.c (ldfile_open_file): In error message, use the name the
  4743.     user gave (e.g., "-lc"), rather than the base file name.
  4744.  
  4745.     * ldexp.c (exp_fold_tree): Don't assign an int to an enum.
  4746.  
  4747.     * ldmain.[ch]: Remove initial Q_ from function names.
  4748.     * ldexp.c, ldindr.c, ldlang.c: Change callers.
  4749.  
  4750.     * ldfile.c, ldmain.c, ldgram.y: Rename option_v to trace_file_tries.
  4751.  
  4752.     * ldlang.c (lang_process): Move loading of default script from
  4753.     here to main.  Add a "/" to start of script name to prevent
  4754.     finding it in "." first.
  4755.  
  4756.     * ldmain.c (set_scripts_dir): Don't look in "." first.
  4757.  
  4758.     * ldgram.y, ldlang.c, ldsym.c: Remove traces of unused var
  4759.     option_longmap. 
  4760.  
  4761. Thu Jul 15 10:55:59 1993  Ian Lance Taylor  (ian@cygnus.com)
  4762.  
  4763.     * Makefile.in (em_m88kbcs.c): Correct dependency.
  4764.     * scripttempl/m88kbcs.sc: It's ARCH, not arch.  Removed TARGET
  4765.     statement.  Changed OUTPUT_FORMAT to use ${OUTPUT_FORMAT}.
  4766.     * emulparams/m88kbcs.sh: It's coff-m88kbcs, not m88kbcs.
  4767.  
  4768. Wed Jul 14 21:42:53 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
  4769.  
  4770.     * ldfile.c (ldlang_open_file, ldfile_open_command_file),
  4771.     main.c (main): Print the errno string in the error message.
  4772.  
  4773. Tue Jul 13 20:00:30 1993  Doug Evans  (dje@canuck.cygnus.com)
  4774.  
  4775.     * configure.in: Accept h8300h for target cpu.
  4776.  
  4777.     * ldmisc.c (vfinfo): Have demangle remove leading underscore if
  4778.     present (demangle is smart enough to know whether to do it or not).
  4779.  
  4780. Mon Jul 12 11:45:48 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
  4781.  
  4782.     * ldmain.c (set_scripts_dir): Check . and <ld bin dir>/../lib for
  4783.     ldscripts, as well as <ld bin dir> and SCRIPTDIR.
  4784.  
  4785.     * ldlang.c (lang_process): Use sizeof instead of magic constant.
  4786.  
  4787.     * ldmain.c (get_emulation, check_for_scripts_dir,
  4788.     set_scripts_dir):  New functions.
  4789.     (main): Call them.
  4790.  
  4791. Mon Jul 12 10:57:03 1993  Ken Raeburn  (raeburn@deneb.cygnus.com)
  4792.  
  4793.     * scripttempl/elf.sc: Include .init, .fini, .rodata sections.
  4794.     Create symbol "end" instead of "__end".  Comment out some parts
  4795.     that may not be needed (yet) for elf.
  4796.  
  4797.     * configure.in: Accept sparc-elf and sparc-solaris2 configs.
  4798.  
  4799. Thu Jul  8 15:33:32 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  4800.  
  4801.     * Makefile.in (ALL_EMULATIONS): Include $(OTHER_EMULATIONS).
  4802.  
  4803.     * ldmisc.h (einfo, minfo, info): Don't bother with PARAMS macro
  4804.     when no prototype is being supplied.
  4805.     (ldmalloc, ldrealloc): Size argument is now size_t.
  4806.  
  4807.     * ldmisc.c (finfo): New function, accepts FILE* argument.
  4808.     (vfinfo, case 'v'): New format character; displays bfd_vma in hex
  4809.     without leading zeros.
  4810.     (vfinfo, cases 'R' and 'C'): Use finfo(%v) when displaying a
  4811.     bfd_vma value, instead of fprintf(%x) which won't hold a long long
  4812.     value.
  4813.     (concat, buystring): String lengths are size_t.
  4814.     (ldmalloc, ldrealloc, xrealloc): Size argument is now size_t.
  4815.  
  4816.     * ldlang.c (new_statement): Size argument is now size_t.  Added
  4817.     forward declaration with prototype.
  4818.  
  4819. Thu Jul  8 10:53:47 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
  4820.  
  4821.     * ldgram.y (OPTION_v): Don't turn on verbose output.
  4822.  
  4823. Wed Jul  7 17:10:45 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  4824.  
  4825.     * ldlex.l: Get rid of local typedef for bfd_vma!  Get it from
  4826.     bfd.h instead.
  4827.  
  4828. Wed Jul  7 11:33:12 1993  Ian Lance Taylor  (ian@cygnus.com)
  4829.  
  4830.     * Makefile.in (install): Don't install as $(tooldir)/bin/gld;
  4831.     collect2 doesn't look for gld any more anyhow.
  4832.  
  4833. Mon Jul  5 14:29:48 1993  Ian Lance Taylor  (ian@cygnus.com)
  4834.  
  4835.     * ldlang.c (lang_relocate_globals): Skip indirect symbols, which
  4836.     now have a non NULL srefs_chain.
  4837.  
  4838.     * config/hp300hpux.mt: Use emulation hp3hpux rather than
  4839.     hp300hpux, since the latter does not exist.
  4840.  
  4841. Fri Jul  2 18:06:05 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
  4842.  
  4843.     * genscripts.sh: Put the scripts in the ldscripts directory, not
  4844.     emulations. 
  4845.     * configure.in (ldscripts): Make, instead of emulations.
  4846.     * Makefile.in (scriptdir): Take off the "ld" part.
  4847.     (install, clean, distclean): Use ldscripts, not emulations.
  4848.     In tests, don't pass -Lemulations.
  4849.     Don't pass tooldir/lib to genscripts.sh.
  4850.     * genscripts.sh: Don't take tooldir/lib arg.
  4851.     * ldlang.c (lang_process): Add "ldscripts/" to the name of the
  4852.     default script file.
  4853.  
  4854. Fri Jul  2 17:13:35 1993  Doug Evans  (dje@canuck.cygnus.com)
  4855.  
  4856.     * scripttempl/h8300.sc: Add .tors section for constructor/destructors.
  4857.  
  4858. Thu Jul  1 16:38:45 1993  Doug Evans  (dje@canuck.cygnus.com)
  4859.  
  4860.     * config/coff-h8300.mt: EMUL=h8300hms -> h8300.
  4861.  
  4862. Wed Jun 30 15:45:55 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
  4863.  
  4864.     * Makefile.in (.y.c): skip default .y.c rules. gnu make can now
  4865.       run in parallel without colliding on yacc's static file names.
  4866.       Without the stub rule, make will try to start two yacc's
  4867.       concurrently which fails because of yacc's static file names.
  4868.  
  4869. Tue Jun 29 12:20:36 1993  Ian Lance Taylor  (ian@cygnus.com)
  4870.  
  4871.     * ldmain.c (subfile_wanted_p): Don't dump core if there are no
  4872.     symbols.
  4873.  
  4874. Mon Jun 28 12:22:11 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
  4875.  
  4876.     * genscripts.sh (LIB_PATH): Only add /usr/local/lib if it's
  4877.     different from libdir.
  4878.  
  4879.     * Makefile.in (scriptdir): Base on tooldir, not datadir.
  4880.  
  4881. Sat Jun 26 12:03:57 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
  4882.  
  4883.     * ldver.c (help): New function.
  4884.     * ldver.h: Declare it.
  4885.     * ldlex.l, ldgram.y: Recognize new options --help and --version.
  4886.  
  4887. Mon Jun 21 20:39:48 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
  4888.  
  4889.     * Makefile.in (INCLUDES): Don't need ../include any more.
  4890.  
  4891. Mon Jun 21 16:38:35 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
  4892.  
  4893.     * ldlex.l, ldgram.y: Support new -oformat option.
  4894.     Remove attempt at supporting script fragments on the command line.
  4895.     * ldlang.c (lang_add_output_format): Take new arg, FROM_SCRIPT.
  4896.     * mri.c (mri_format), ldgram.y: Change callers.
  4897.     * ldlang.h: Change prototype.
  4898.  
  4899. Thu Jun 17 16:53:56 1993  david d `zoo' zuhn (zoo@cygnus.com)
  4900.     
  4901.     * Makefile.in: canonicalize install.sh; for use within
  4902.     this directory (and subdirs)
  4903.  
  4904. Thu Jun 17 14:33:09 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
  4905.  
  4906.     * ldgram.y: Tweak grammar to make reporting of invalid options work.
  4907.  
  4908.     * Makefile.in (.cc.o): Restore .SUFFIXES entry for .cc
  4909.     and .cc.o rule.
  4910.  
  4911. Wed Jun 16 11:45:32 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
  4912.  
  4913.     * ldfile.c (ldfile_open_command): Don't try .ld extension.
  4914.     It wasn't documented (or likely used) and wastes time.
  4915.     (try_open): If EXTEN is empty, don't try it.
  4916.  
  4917.     * ldctor.c, lderror.c, ldexp.c, ldfile.c, ldindr.c, ldlang.c,
  4918.     ldlex.l, ldmain.c, ldmisc.c, ldsym.c, ldver.c, ldwarn.c,
  4919.     ldwrite.c, lexsup.c, mri.c, relax.c: Replace DEFUN macro calls
  4920.     with normal function declarations.
  4921.  
  4922.     * Move *.em to emultempl/*.em.  Move *.sh to emulparams/*.sh.
  4923.     Move *.sc-sh to scripttempl/*.sc.
  4924.     * {emultempl,emulparams,scripttempl}/README: New files.
  4925.     * sh.em, st2000.em, z8ksim.em, h8300hms.em, h8500hms.em: Files
  4926.     removed, replaced with generic.em.
  4927.     * h8300.sh, h8500.sh, h8300.sc, h8500.sc: Renamed from
  4928.      h8[35]00hms.s[ch].  Change their contents to omit the "hms".
  4929.  
  4930.     * *.em (*_get_script): Return script name instead of script contents.
  4931.     * ldlang.c (lang_process): Change caller.
  4932.  
  4933.     * ldlex.l, ldgram.y: Recognize -m option.
  4934.     Check for input files after *all* options in grammar.
  4935.     * ldmain.c (main): Check for -m options.  Add default directory
  4936.     for -m.
  4937.  
  4938.     * mkscript.c: File removed.
  4939.     * genscripts.sh: Take two more parameters, tooldirlib and libdir,
  4940.     to add to the default LIB_PATH.
  4941.     Look for input files in the new subdirectories.
  4942.     Create the scripts in emulations subdirectory and don't filter
  4943.     them through mkscript.
  4944.     * configure.in: Make the emulations subdirectory.
  4945.  
  4946.     * Makefile.in: Account for all of the above changes.
  4947.     Remove unused .SUFFIXES.  Get libgcc.a path with gcc
  4948.     -print-libgcc-file-name instead of $(libdir)/libgcc.a.
  4949.     Put CFLAGS last in the compilation rules.
  4950.     Add -I../bfd to INCLUDES so sysdep.h is found.
  4951.  
  4952. Tue Jun 15 23:04:46 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  4953.  
  4954.     * Makefile.in (INCLUDES): Look in ../include, not ../bfd.
  4955.  
  4956.     * aout.sc-sh: Add SHLIB_PATH like STACKZERO.  Make STACKZERO
  4957.     dependent on RELOCATING, not RELOCATION.
  4958.     * hp3hpux.sh (SHLIB_PATH): Define it.
  4959.  
  4960. Mon Jun 14 19:06:15 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
  4961.  
  4962.     * ldfile.c (try_open): If opening without the extension fails,
  4963.     try with the extension even if -v or -V was given.
  4964.     had_script is imported (from ldgram.y), not exported.
  4965.  
  4966. Mon Jun 14 16:26:10 1993  david d `zoo' zuhn  (zoo at rtl.cygnus.com)
  4967.  
  4968.     * Makefile.in: remove parentdir support, use INSTALL_XFORM
  4969.  
  4970. Thu Jun 10 14:00:06 1993  Ian Lance Taylor  (ian@cygnus.com)
  4971.  
  4972.     * ldexp.c (exp_fold_tree): Don't lose the old flag bits.
  4973.     * ldgram.y (statement_list_opt): New nonterminal, either empty or
  4974.     statement_list.
  4975.     (section): Use statement_list_opt, not statement_list.
  4976.     * m68kcoff.sc-sh: Gather constructors and destructors and define
  4977.     __CTOR_LIST__ and __DTOR_LIST__ appropriately.
  4978.     * sa29200.sc-sh: Gather constructors and destructors and define
  4979.     ___CTOR_LIST__ and ___DTOR_LIST__ appropriately.
  4980.  
  4981. Mon Jun  7 12:53:28 1993  Per Bothner  (bothner@rtl.cygnus.com)
  4982.  
  4983.     * Makefile.in (INCLUDES):  Add -I../bfd for sysdep.h and bfd.h.
  4984.     * configure.in:  No longer need to configure to get sysdep.h.
  4985.  
  4986. Fri Jun  4 16:18:24 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  4987.  
  4988.     * Makefile.in: remove install:all and install-info:info 
  4989.     dependencies (these cause some spurious rebuilds at 'make install'
  4990.         time)
  4991.  
  4992. Fri Jun  4 08:50:14 1993  Ian Lance Taylor  (ian@cygnus.com)
  4993.  
  4994.     * configure.in (mips-idt-ecoffl*): New target; use mips-idtl.
  4995.     (mips-idt-ecoff*): Added trailing '*'.
  4996.     * config/mips-idtl.mt: New file; use EMUL of mipsidtl.
  4997.     * mipsidtl.sh: New file; like mipsidt.sh, but little endian.
  4998.     * Makefile.in (ALL_EMULATIONS): Added em_mipsidtl.o.
  4999.  
  5000.     * config/sun3.mh (HOSTING_LIBS, HOSTING_EMU): Removed obsolete and
  5001.     incorrect definitions.
  5002.  
  5003. Tue Jun  1 14:56:10 1993  Per Bothner  (bothner@rtl.cygnus.com)
  5004.  
  5005.     * ldsym.c (write_file_locals):  Write BSF_CONSTRUCTOR
  5006.     symbols, unless stripping.
  5007.  
  5008. Tue May 25 15:34:25 1993  Ian Lance Taylor  (ian@cygnus.com)
  5009.  
  5010.     * Makefile.in: configure looks for ####, so remove lines with many
  5011.     '#' characters.
  5012.     * config/irix4.mh, config/i386v.mh: New files; set HOSTING_CRT0
  5013.     and HOSTING_LIBS correctly so that ``make check'' will work.
  5014.  
  5015. Thu May 20 13:56:16 1993  Per Bothner  (bothner@deneb.cygnus.com)
  5016.  
  5017.     * mips.sc-sh:  Define _etext, _edata, and _end, in addition
  5018.     to etext, edata, and end.  Needed for IRIX 4.0.5F.
  5019.     Patch from mwp@iconix.oz.au (Michael Paddon).
  5020.  
  5021.     * Version 2.2.1 released.
  5022.  
  5023. Thu May 20 11:42:06 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  5024.  
  5025.     * mipsbsd.sc-sh: Renamed from aout-mipsbsd.sc-sh.
  5026.     * mipsbsd.sh (EMULATION_NAME): Use new file name.
  5027.  
  5028. Tue May 18 17:10:24 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  5029.  
  5030.     * Makefile.in (LDDISTSTUFF): Remove ld.mm since we can't build it
  5031.     properly right now.
  5032.  
  5033.     * Version 2.2 released.
  5034.  
  5035. Mon May 17 15:37:28 1993  Ken Raeburn  (raeburn@deneb.cygnus.com)
  5036.  
  5037.     * ldver.c (ldversion): Bump version number to 2.2.
  5038.  
  5039. Mon May 17 12:44:31 1993  Per Bothner  (bothner@cygnus.com)
  5040.  
  5041.     * NEWS:  New file.
  5042.  
  5043. Fri May 14 11:26:24 1993  Ian Lance Taylor  (ian@cygnus.com)
  5044.  
  5045.     * mips.sc-sh: Don't define BSS_VAR unless relocating.
  5046.  
  5047. Wed May 12 13:33:29 1993  Ian Lance Taylor  (ian@cygnus.com)
  5048.  
  5049.     * Makefile.in (mkscript.o, mkscript): Build mkscript via
  5050.     mkscript.o, rather than directly from mkscript.c.
  5051.  
  5052. Tue May  4 21:58:56 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  5053.  
  5054.     * configure.in: Look for ${target_makefile_frag} relative to
  5055.     ${srcdir}, not relative to build directory.
  5056.  
  5057.     * hppaosf.em, hppaosf.sc-sh, hppaosf.sh: New files.
  5058.     * configure.in: Recognize hppa*-hp-osf.
  5059.     * Makefile.in (ALL_EMULATIONS): Include hppaosf emulation.
  5060.     (em_hppaosf.c): Build it.
  5061.     * config/hppaosf.mh, hppaosf.mt: New files.
  5062.  
  5063.     * ld.h (ALIGN_N): Renamed from ALIGN, because that conflicted with
  5064.     some system header files.  All uses changed.
  5065.  
  5066.     * configure.in: Recognize i386-aix configurations as i386-coff
  5067.     targets.
  5068.  
  5069.     * configure.in: Recognize m68*-*-hpux.
  5070.     * aout.sc-sh: If STACKZERO and RELOCATING are both defined, output
  5071.     the value of STACKZERO.
  5072.     * Makefile.in (ALL_EMULATIONS): Include hp300-hpux emulation.
  5073.     (em_hp3hpux.c): Build it.
  5074.     * hp3hpux.sh, config/hp300hpux.mt: New files.
  5075.  
  5076. Tue May  4 12:37:35 1993  Ian Lance Taylor  (ian@cygnus.com)
  5077.  
  5078.     * mips.sc-sh: Put constructors in the .data section.
  5079.     * Makefile.in (cdtest): Added dependency on ld.new.
  5080.  
  5081. Mon May  3 19:43:39 1993  Per Bothner  (bothner@cygnus.com)
  5082.  
  5083.     * Makefile.in:  Change definition of $(tooldir) to match FSF.
  5084.     * vax.sh, config/vax.mt, configure.in, Makefile.in:
  5085.     Support VAX Ultrix and BSD.
  5086.  
  5087. Mon Apr 26 18:35:47 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
  5088.  
  5089.     * sh.em, sh.sh, sh.sc-sh: New files supporting Hitachi SH.
  5090.  
  5091. Wed Apr 14 21:01:51 1993  John Gilmore  (gnu@cygnus.com)
  5092.  
  5093.     * ldlang.h (struct memory_region):  Change `length' and
  5094.     `old_length' fields to bfd_size_type.  Eliminate use of bfd_offset.
  5095.     * ldlang.c, mri.c:  Corresponding changes, plus lint.
  5096.  
  5097. Thu Apr  8 22:08:18 1993  Ian Lance Taylor  (ian@cygnus.com)
  5098.  
  5099.     * configure.in: For all i386 targets, accept i486 as well.
  5100.  
  5101. Mon Apr  5 17:33:39 1993  Ian Lance Taylor  (ian@cygnus.com)
  5102.  
  5103.     * ldlang.c (wild_doit): Preserve all flags for a
  5104.     SEC_SHARED_LIBRARY section.
  5105.     (size_input_section): Consider any SEC_HAS_CONTENTS section when
  5106.     computing largest_section.
  5107.  
  5108. Fri Apr  2 14:33:52 1993  Ian Lance Taylor  (ian@cygnus.com)
  5109.  
  5110.     * ldlang.c (lang_output_section_statement_lookup): Initialize all
  5111.     fields of newly created structure.
  5112.  
  5113. Wed Mar 31 18:19:15 1993  Ian Lance Taylor  (ian@cygnus.com)
  5114.  
  5115.     * ldmain.c (g_switch_value): New variable.
  5116.     * ldgram.y (OPTION_G, OPTION_Gval): New tokens.
  5117.     (command_line_option): Accept -G and set g_switch_value.
  5118.     * ldlex.l (COMMAND): Accept -G.
  5119.     * ldlang.c (open_output): Call bfd_set_gp_size on new BFD.
  5120.  
  5121. Tue Mar 30 09:40:25 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
  5122.  
  5123.     Support for linking and loading at different places:
  5124.  
  5125.     * ldlex.l: Add "AT" keyword.
  5126.     * ldgram.y: Cleanup, and parse AT.
  5127.     * ldlang.c (print_output_section_statement): Print output address
  5128.     of section in map. (lang_size_sections): Fill sections' lma with
  5129.     load address.
  5130.     * ldlang.h (lang_output_section_statement_type): Add load_base
  5131.     information.
  5132.  
  5133.     * ldindr.c (add_indirect): Keep more information in the alias
  5134.     symbol chain.
  5135.     * ldlang.c (wild_doit):  Don't inherit NEVER_LOAD section
  5136.     attribute from an input section.
  5137.     * ldmain.c (Q_enter_file_symbols): Common section is NEVER_LOAD by
  5138.     default. (Q_enter_file_symbos): Indirect symbols now are known by
  5139.     their section, not a special symbol flag.
  5140.     * ldsym.c (write_file_locals): Indirect symbols aren't local.
  5141.     (write_file_globals): Write the mapping for an indirect symbol.
  5142.     * relax.c (build_it): When forced to write a NEVER_LOAD section,
  5143.     fill it with zeros.
  5144.  
  5145. Tue Mar 23 13:24:10 1993  Jeffrey Osier  (jeffrey@fowanton.cygnus.com)
  5146.  
  5147.     * ld.texinfo:  changes for q1
  5148.  
  5149. Tue Mar 23 00:13:29 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  5150.  
  5151.     * Makefile.in: add dvi target, define & use TEXI2DVI, add installcheck
  5152.  
  5153. Mon Mar  8 20:30:35 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  5154.  
  5155.     * Makefile.in: rename HOST_CC to CC_FOR_BUILD
  5156.  
  5157. Thu Mar  4 12:44:33 1993  Ian Lance Taylor  (ian@cygnus.com)
  5158.  
  5159.     * mips.sc-sh: Added variables which may be overridden by a
  5160.     specific emulation.
  5161.     * mipsidt.sh: New file; emulation for IDT MIPS board.
  5162.     * Makefile.in (ALL_EMULATIONS): Added em_mipsidt.o.
  5163.     (em_mipsidt.c): New target.  Uses mipsidt.sh and mips.sc-sh.
  5164.     * config/mips-idt.mt: New file; sets EMUL to mipsidt.
  5165.     * configure.in (mips-idt-ecoff): New target; uses mips-idt.
  5166.  
  5167. Sat Feb 27 00:00:14 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  5168.  
  5169.     * aout-mipsbsd.sc-sh, mipsbsd.sh: New files from Ralph Campbell,
  5170.     ralphc@pyramid.com.
  5171.     * i386bsd.sh, config/i386bsd.mt: New files.
  5172.     * configure.in, Makefile.in: Added support for mipsbsd and 386bsd.
  5173.  
  5174. Thu Feb 25 15:33:10 1993  Per Bothner  (bothner@rtl.cygnus.com)
  5175.  
  5176.     * mri.c:  Add extern declaration of strdup.
  5177.     * ldsym.c (KEEP macro):  Add spaces around '=' for the
  5178.     sake of old (e.g. PCC) compilers.
  5179.  
  5180. Wed Feb 24 19:49:31 1993  Per Bothner  (bothner@rtl.cygnus.com)
  5181.  
  5182.     * ldver.c:  Bump to version 2.1.
  5183.  
  5184. Fri Feb 12 08:09:11 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
  5185.  
  5186.     * ldgram.y: allow section types without address  expressions.
  5187.     * ldlang.c (lang_relocate_globals): avoid possible hang with
  5188.     undefined but unreferenced symbols.
  5189.     * relax.c (relax_section): don't complain if the script file isn't
  5190.     relaxable but -relax is set
  5191.  
  5192. Thu Feb 18 17:58:45 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  5193.  
  5194.     * configure.in: go32 is the 3rd part of the triple, not the 2nd
  5195.  
  5196. Wed Feb  3 09:05:56 1993  Ian Lance Taylor  (ian@cygnus.com)
  5197.  
  5198.     * mipsbig.sh: New file.  Big endian MIPS emulation.
  5199.     * config/mips-big.mt: New file.  Use mipsbig emulation.
  5200.     * configure.in (mips-sgi-irix*): Use target mips-big.
  5201.     * Makefile.in (ALL_EMULATIONS): Added em_mipsbig.o.
  5202.     (em_mipsbig.c): New target.  Uses mipsbig.sh.
  5203.  
  5204. Tue Feb  2 11:32:27 1993  Ian Lance Taylor  (ian@cygnus.com)
  5205.  
  5206.     * mips.sc-sh: Put .scommon sections into .sbss section.
  5207.  
  5208.     * ldmain.c (subfile_wanted_p): Preserve section of common symbols,
  5209.     rather than always putting them in bfd_com_section.
  5210.     * ldlang.c (lang_common): If a common symbol is not in
  5211.     bfd_com_section, put in a section of the same name, rather than
  5212.     always putting it in section COMMON.
  5213.  
  5214. Fri Jan 29 09:57:58 1993  Ian Lance Taylor  (ian@cygnus.com)
  5215.  
  5216.     * ldmain.c (subfile_wanted_p): If we already have a common
  5217.     definition of a symbol, don't necessarily pull in an object file
  5218.     that provides a non-common definition.
  5219.  
  5220.     * ldlex.l (COMMAND): Accept -EB and -EL command line arguments,
  5221.     returning OPTION_EB and OPTION_EL.  gcc passes these to a MIPS
  5222.     linker.
  5223.     * ldgram.y (OPTION_EB, OPTION_EL): New tokens.
  5224.     (command_line_option): Accept and ignore OPTION_EB and OPTION_EL.
  5225.  
  5226. Thu Jan 28 15:12:04 1993  Ian Lance Taylor  (ian@cygnus.com)
  5227.  
  5228.     * Makefile.in (install): Remove $(tooldir)/bin/gld before creating
  5229.     the link to it.
  5230.  
  5231. Tue Jan 26 11:49:50 1993  Ian Lance Taylor  (ian@cygnus.com)
  5232.  
  5233.     * ldmain.c, ldsym.c: Use new bfd_is_com_section macro rather than
  5234.     checking for equality to bfd_com_section.
  5235.  
  5236. Fri Jan 22 14:22:44 1993  Ian Lance Taylor  (ian@cygnus.com)
  5237.  
  5238.     * mips.sc-sh: New file.  Ultrix, and hopefully other MIPS ECOFF
  5239.     targets, linker script.
  5240.     * mipslit.sh: New file.  Little endian MIPS emulation.
  5241.     * config/mips-lit.mt: New file.  Use mipslit emulation.
  5242.     * configure.in (mips-dec-ultrix*): Use target mips-lit.
  5243.     * Makefile.in (ALL_EMULATIONS): Added em_mipslit.o.
  5244.     (em_mipslit.c): New target.  Uses mipslit.sh.
  5245.  
  5246. Thu Jan 14 15:30:27 1993  Ian Lance Taylor  (ian@cygnus.com)
  5247.  
  5248.     * Makefile.in (install): Install ld as both $(tooldir)/bin/ld and
  5249.     $(tooldir)/bin/gld, so that gcc can find it with or without
  5250.     collect2.
  5251.  
  5252. Mon Jan 11 18:50:07 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5253.  
  5254.     * ldwrite.c: Removed perform_relocation, copy_and_relocate, and
  5255.     write_norel.  All linking is now done via write_relax.  Call
  5256.     ldsym_write before calling write_relax.
  5257.     * relax.c: Added copyright.
  5258.     (write_relax): Renamed from write_relaxnorel.  Added relocateable
  5259.     argument.  seclet_dump renamed to bfd_seclet_link.
  5260.     * relax.h: Added copyright.
  5261.  
  5262. Mon Jan 11 15:41:56 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
  5263.  
  5264.     * ldmain.c (decode_library_subfile): Patch from
  5265.     hoogen@shafer.cs.utah.edu, don't reread library symbol tables.
  5266.  
  5267. Fri Jan  8 18:04:33 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  5268.  
  5269.     * config/vxworks960.mt renamed to config/i960.mt
  5270.  
  5271.     * configure.in: sparc-aout emulates a sun4, as does
  5272.     sparc*-vxworks, i960-nindy uses gld960 emulation
  5273.  
  5274. Fri Jan  8 14:39:07 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
  5275.  
  5276.      Fix support for NOLOAD, add INCLUDE
  5277.     * ldfile.c (ldfile_open_command_file): pass file name to
  5278.     lex_push_file.
  5279.     * ldlex.l, ldgram.y: tidy up, parse INCLUDE and NOLOAD 
  5280.     * ldlang.c (wild_doit): make output sections inherit NEVER_LOAD
  5281.     attribute.
  5282.  
  5283. Thu Jan  7 10:22:19 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  5284.  
  5285.     * Makefile.in, config.h: no more default emulation.  Make the lack
  5286.     of emulation a compile time error
  5287.  
  5288. Wed Jan  6 01:08:37 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  5289.  
  5290.     * configure.in: recognise all sparclite variants, not just 'sparclite'
  5291.  
  5292. Mon Dec 28 11:15:35 1992  Ian Lance Taylor  (ian@cygnus.com)
  5293.  
  5294.     * m68kcoff.sc-sh: define _end as well as end, for consistency with
  5295.     aout.sc-sh.
  5296.  
  5297.     * configure.in: accept *-ericsson-ose for any m68k CPU.
  5298.  
  5299.     * ldwrite.c (write_rel): don't always set SEC_HAS_CONTENTS flag
  5300.     for each output section.
  5301.  
  5302. Mon Dec 21 16:06:59 1992  Per Bothner  (bothner@rtl.cygnus.com)
  5303.  
  5304.     * ldexp.c, ldlang.c, ldmain.c, ldsym.c, ldwarn.c:  Use new
  5305.     macro bfd_asymbol_bfd as appropriate.
  5306.     * Makefile.in:  Un-duplicate ldlex.c dependency.
  5307.     * condigure.in:  Replace my_host case table by sourcing
  5308.     ../bfd/configure.host.  Allow std-host as the default.
  5309.     * ldmisc.c:  Change logic for C++ name demangling:  There is
  5310.     no initial '_' to remove from stab-derived function names.
  5311.  
  5312. Sun Dec 13 16:31:26 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5313.  
  5314.     * ldlang.c (lang_init_script_file): don't attach the output file
  5315.     sections to the script file.
  5316.  
  5317. Wed Dec  9 08:38:05 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5318.     * ldlang.c (wild): run expansion loop over command line bfd too.
  5319.     (lang_ini_script_file): initialize more parts of the command line
  5320.     bfd.
  5321.     * ldlex.l: fix DEFINED start states.
  5322.  
  5323. Mon Dec  7 08:43:41 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5324.      -y support
  5325.     * ld.texinfo: new doc.
  5326.     * ldgram.y, ldlex.l: understand -y<symbol>
  5327.     * ldmain.c (Q_enter_file_symbols): if had -y, lookup symbol and
  5328.     print info. (add_ysym): new function.
  5329.     * ldsym.h: (ldsym_type): new define SYM_Y.
  5330.  
  5331. Sat Nov 21 03:15:27 1992  John Gilmore  (gnu@cygnus.com)
  5332.  
  5333.     * ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c,
  5334.     ldlang.h, ldlex.h, ldmain.h, ldmisc.h, ldsym.h, ldver.h, ldwarn.h,
  5335.     ldwrite.h, relax.h:  Replace all uses of EXFUN and PROTO ansi-glue
  5336.     macros with PARAMS.  Recreational cleanup.  Update copyrights.
  5337.  
  5338. Tue Nov 10 00:23:37 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  5339.  
  5340.     * Makefile.in: pass down the bfd source directory for includes
  5341.  
  5342. Thu Nov  5 15:41:55 1992  Ian Lance Taylor  (ian@cygnus.com)
  5343.  
  5344.     * ldlang.c (lang_size_sections): don't change size and address for
  5345.     SEC_SHARED_LIBRARY sections rather than for SEC_NEVER_LOAD
  5346.     sections.
  5347.  
  5348. Thu Nov  5 11:33:57 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5349.  
  5350.     * relax.c (build_it): re-enable the processing of data_statements
  5351.     in scripts, makes counted contructor lists work again.
  5352.  
  5353. Thu Nov  5 05:43:01 1992  John Gilmore  (gnu@cygnus.com)
  5354.  
  5355.     * ldemul.h:  Remove uses of SDEF and PROTO macros (use PARAMS).
  5356.  
  5357. Tue Oct 20 10:56:06 1992  Ian Lance Taylor  (ian@cygnus.com)
  5358.  
  5359.     * m68kcoff.sc-sh: don't use initial underscores for etext, edata
  5360.     and end.
  5361.  
  5362. Mon Oct 19 09:45:38 1992  Ian Lance Taylor  (ian@cygnus.com)
  5363.  
  5364.     * Support for i386-sysv.
  5365.     configure.in: check for i386-*-sysv* and i386-*-sco*.
  5366.     i386coff.sc-sh: rewrote to support SVR3 by default.
  5367.     ldctor.c (find_constructors): preserve stat_ptr.
  5368.     ldlang.c (wild_doit): initialize vma and size of new output
  5369.     section to corresponding input section.  This is required for
  5370.     shared library support.
  5371.     (lang_size_sections): don't modify vma and size of sections which
  5372.     are never loaded (for shared libraries).
  5373.     ldwrite.c (copy_and_relocate): copy the contents of any section
  5374.     which has contents, not just sections which are loaded (for shared
  5375.     libraries).
  5376.  
  5377. Thu Oct 15 15:20:26 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5378.  
  5379.     * ldlang.c (size_input_section): count the sizes of all sections
  5380.         we allocate.
  5381.  
  5382. Thu Oct  8 09:05:25 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5383.  
  5384.     * ldmisc.c (demangle,vfinfo): use the new underscore in bfd to 
  5385.     to demangle symbols better
  5386.  
  5387. Tue Oct  6 13:08:54 1992  Ian Lance Taylor  (ian@cygnus.com)
  5388.  
  5389.     * ldlang.c (lang_finish): don't warn if -e start symbol does not
  5390.     exist when linking with -r.
  5391.  
  5392. Mon Oct  5 14:07:37 1992  Ian Lance Taylor  (ian@cygnus.com)
  5393.  
  5394.     * aout.sc-sh, m68kcoff.sc-sh: set __bss_start to the start of the
  5395.     .bss segment.
  5396.  
  5397. Mon Oct  5 08:55:14 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5398.  
  5399.     * ldmain.c (linear_library): don't even think about processing 
  5400.     an object file if it's already been done
  5401.  
  5402. Thu Oct  1 23:14:59 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  5403.  
  5404.     * configure.in: the hp9000/300 config file is now hp300
  5405.  
  5406. Wed Sep 30 07:34:09 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5407.  
  5408.     * config/z8ksim.mt: new file
  5409.  
  5410. Fri Sep 25 13:49:52 1992  Ken Raeburn  (raeburn@kyriath.cygnus.com)
  5411.  
  5412.     * Makefile.in (ldexp.o, ldctor.o, ldlang.o, ldmain.o, ldwrite.o,
  5413.     lexsup.o, mri.o, relax.o): Indicate dependence on ldgram.h.
  5414.  
  5415.     * ld.h (strip_symbols_type): Add value STRIP_SOME.
  5416.     * ldgram.y (OPTION_RETAIN_SYMBOLS_FILE): New terminal token.
  5417.     * ldlang.c (lang_add_keepsyms_file): New function.
  5418.     * ldlex.l: Handle "-retain-symbols-file".
  5419.     * ldsym.c (keepsyms_file, kept_syms): New vars.
  5420.     (process_keepsyms): New functihon; reads file, marks symbols for
  5421.     saving.
  5422.     (write_file_locals): File symbols should always be kept.
  5423.     (ldsym_write): Warn about "-retain-symbols-file" overriding "-S"
  5424.     and "-s".  Process retain-symbols file before setting symtab.
  5425.     * ldsym.h (SYM_KEEP): New flag for ldsym_type flags.
  5426.     (keepsyms_file, kept_syms): Declare them.
  5427.  
  5428.     * ldmain.c (main): Non-fatal errors should still cause non-zero
  5429.     exit status even with -r.
  5430.  
  5431. Fri Sep 25 11:08:01 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5432.  
  5433.     Added initial support for the z8k
  5434.     * z8ksim.em, z8ksim.sc-sh, z8ksim.sh: new files
  5435.     * configure.in, Makefile.in: modified to reflect above
  5436.  
  5437.     * ldlang.c (lang_check): when linking conflicting architectures,
  5438.     make the output file reflect at least one of the bad inputs.
  5439.  
  5440. Tue Sep 15 15:35:38 1992  Ian Lance Taylor  (ian@cygnus.com)
  5441.  
  5442.     * Makefile.in (install): if $(tooldir) exists, install ld in
  5443.     $(tooldir)/bin.
  5444.  
  5445. Fri Sep 11 10:24:22 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5446.  
  5447.     * Makefile.in, configure.in: modified to support i386-coff
  5448.     * i386coff.sh: new file
  5449.  
  5450. Wed Sep  9 11:52:58 1992  Ian Lance Taylor  (ian@cygnus.com)
  5451.  
  5452.     * Makefile.in, m68kcoff.sh, m68kcoff.sc-sh, config/m68k-coff.mt:
  5453.     added m68k-coff emulation mode, stolen from a29k emulation.
  5454.     Almost certainly wrong, but perhaps better than sun3.
  5455.  
  5456. Thu Sep  3 14:19:30 1992  Per Bothner  (bothner@rtl.cygnus.com)
  5457.  
  5458.     * Makefile.in, Makefile.dos, generic.em, genscripts.sh,
  5459.     gld960.em, h8300hms.em, h8300xray.em, lnk960.em, st2000.em,
  5460.     vanilla.em:  Rename all (generated) ld__*.c files to em_.c.
  5461.     This is one character shorter, and lets people build on
  5462.     SVR3 system. (ld__h8300xray.[co] was the killer there;
  5463.     h8300xray.sc-sh is also overlong, but seems harmless.)
  5464.     Based on a patch from Jonathan Ryshpan <hitachi!amito!jon>.
  5465.     * Makefile.in (clean):  Fix typo mostclean -> mostlyclean.
  5466.     * configure.in:  Add host isc.
  5467.  
  5468.     * ldver.c:  Call it version 2.0.
  5469.  
  5470. Wed Sep  2 00:21:33 1992  Per Bothner  (bothner@rtl.cygnus.com)
  5471.  
  5472.     * ldver.c:  Bump to version 0.98.
  5473.     * TODO:  New file.
  5474.  
  5475.     * Makefile.in:  Added mostlyclean, distclean, realclean rules.
  5476.  
  5477. Tue Sep  1 23:42:16 1992  Per Bothner  (bothner@rtl.cygnus.com)
  5478.  
  5479.     * ldmisc.c (xrealloc):  New (needed by ../libiberty/cplus.dem.c).
  5480.     * ldlex.l: Moved comment() to end, since some compilers
  5481.     otherwise have problems with input() used before it is defined.
  5482.  
  5483. Tue Sep  1 17:45:51 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  5484.  
  5485.     * configure.in: added Solaris 2 and Irix 4 host support.
  5486.  
  5487. Mon Aug 31 19:27:11 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  5488.  
  5489.     * Makefile.in: remove -S flag from the FLEX definition
  5490.  
  5491.     * configure.in: rewrote, using new style case statement.  use
  5492.     m68k.mt for m68k-aout systems
  5493.  
  5494. Sun Aug 30 21:38:53 1992  Ian Lance Taylor  (ian@cygnus.com)
  5495.  
  5496.     * Makefile.in: map "ld" through program_transform_name when
  5497.     installing.
  5498.  
  5499. Sun Aug 30 18:12:13 1992  Per Bothner  (bothner@rtl.cygnus.com)
  5500.  
  5501.     * cplus-dem.c:  Removed.  Use the version in libiberty now.
  5502.     * ldmisc.c:  Use new libiberty version of cplus_demangle().
  5503.  
  5504. Thu Aug 27 16:38:42 1992  Ian Lance Taylor  (ian@cygnus.com)
  5505.  
  5506.     * gld960.em (gld960_choose_target): default to little endian, not
  5507.     big endian.
  5508.  
  5509. Wed Aug 26 17:28:51 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5510.  
  5511.     * ldlang.c (lang_process): don't pass null pointers when
  5512.     abs_output_section is what is required.
  5513.     * ldwrite.c (ldwrite): use malloc to allocate the largest space
  5514.     used, and pass that down.
  5515.     * relax.c,relax.h (write_relaxnorel): use the passed malloc area rather
  5516.     than alloca. 
  5517.     
  5518. Mon Aug 24 14:42:06 1992  Ian Lance Taylor  (ian@cygnus.com)
  5519.  
  5520.     * configure.in, config/ose68.mt: renamed OSE to ose.
  5521.  
  5522. Thu Aug 20 19:55:22 1992  Ken Raeburn  (raeburn@cygnus.com)
  5523.  
  5524.     * ldsym.c (write_file_locals): Reorder check for common or
  5525.     undefined symbols so that it works.
  5526.  
  5527. Tue Aug 18 13:41:36 1992  Ian Lance Taylor  (ian@cygnus.com)
  5528.  
  5529.     * configure.in: accept all m68K family members.
  5530.  
  5531.     * Makefile.in: always create installation directories.
  5532.  
  5533. Thu Aug 13 11:49:34 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5534.  
  5535.     * ldlex.l: now parses comment correctly, added ~ to acceptable
  5536.     chars in filenames
  5537.     
  5538.     * ldexp.c (exp_unop): pass down abs_output_section - now can have
  5539.     unary -ve constants.
  5540.  
  5541.     * ldlang.c (lang_finish): warn when an entry symbol supplied on
  5542.     the command line can't be found.
  5543.  
  5544. Fri Aug  7 12:31:10 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5545.  
  5546.     * ldlang.h: add new field "loadable" to output_section_statement.
  5547.     * ldlang.c (lang_output_section_statement_lookup): initilize new
  5548.     field. (wild_doit): if new field is not set, then stop output
  5549.     section from being loadable.
  5550.     (lang_enter_output_section_statement): set the field from the
  5551.     NOLOAD keyword
  5552.     * ldgram.y: new synax for NOLOAD. Removes a shift/reduce too.
  5553.     * h8300hms.sc-sh, h8300hms.em: get -r right.
  5554.  
  5555. Thu Aug  6 18:35:21 1992  Per Bothner  (bothner@rtl.cygnus.com)
  5556.  
  5557.     * ldint.texinfo:  New internals manual (beginnings thereof).
  5558.     * PORTING:  Removed, merged into ldint.texinfo.
  5559.  
  5560. Tue Aug  4 21:12:29 1992  Per Bothner  (bothner@rtl.cygnus.com)
  5561.  
  5562.     * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc,
  5563.     cdtest.exp:  A test program (copied from libg++/test-install)
  5564.     that tests that constructor and destructors are handled
  5565.     corrrectly.
  5566.  
  5567. Mon Aug  3 14:58:19 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  5568.  
  5569.     * Makefile.in (install): install from ld.new, renaming during the
  5570.     copy, or else the next 'make install' needs to re-link ld.
  5571.  
  5572. Mon Jul 20 03:37:06 1992  D. V. Henkel-Wallace  (gumby@cygnus.com)
  5573.  
  5574.     * configure.in: generalise hp recognition (from sef).
  5575.  
  5576. Sat Jul 18 14:46:04 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  5577.  
  5578.     * configure.in: recognize bsd and hpux hppa configurations.
  5579.     error messages echo to stderr, not stdout
  5580.  
  5581. Fri Jul 17 22:06:11 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
  5582.  
  5583.     * Makefile.dos, gld.1, ld.texinfo, ldemul.c, ldfile.c, ldlang.c,
  5584.       ldmisc.c: removed rcsid's.
  5585.  
  5586. Tue Jul 14 08:34:34 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5587.  
  5588.     * ldlang.c (lang_map): print changes in sizes due to relaxing
  5589.     (size_input_section): maintain the delta information. 
  5590.     * ldlang.h: add new field to struct to contain delta info.
  5591.     * relax.c  (relax_section): complain if input not relaxable.
  5592.     * ldlex.l : add '_', ',' and '$' to chars which can appear at the
  5593.     start of a filename
  5594.  
  5595. Mon Jul 13 17:33:00 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5596.  
  5597.     * ldmain.c(main): prevent -r and -relax from being on at the same
  5598.     time.
  5599.  
  5600. Wed Jul  1 17:51:19 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5601.  
  5602.     * ldmain.c (Q_enter_global_ref), ldindr.c (add_indirect): fix for
  5603.     aliasing problems
  5604.     
  5605.  
  5606. Thu Jun 18 09:38:56 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5607.  
  5608.     * h8300hms.em, h8300hms.sc-sh:  do the right thing for -r
  5609.     * ldexp.c:  lint
  5610.     * ldlang.c(open_output): set the target arch and machine as soon
  5611.     as we can. (lang_size_sections): use new macros for setting vma
  5612.     * ldwrite.c: lint
  5613.  
  5614. Mon Jun 15 08:47:43 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)
  5615.  
  5616.     * configure.in (my_target): Accept m680?0 for wrs as vxworks68.
  5617.     Also deleted an unreachable path to wrs.
  5618.  
  5619. Wed May 27 23:24:19 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)
  5620.  
  5621.     * Makefile.in (install): use -d test for $tooldir before
  5622.     installing ld there so that $tooldir can be inherited from
  5623.     top-level Makefile.
  5624.  
  5625. Wed May 27 16:56:48 1992  Per Bothner  (bothner@rtl.cygnus.com)
  5626.  
  5627.     * ldlang.c:  Two non-substantial changes for the sake of
  5628.     the old Portable C Compiler.
  5629.  
  5630. Wed May 27 15:15:58 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5631.  
  5632.         * ldgram.y, ldlex.l: parse ABSOLUTE
  5633.     * ldexp.c: add support for ABSOLUTE
  5634.  
  5635. Wed May 27 13:07:20 1992  Per Bothner  (bothner@rtl.cygnus.com)
  5636.  
  5637.     * Makefile.in:  Added default definitions for HOSTING_CRT0,
  5638.     HOSTING_LIBS, and HOSTING_EMU, based on those in config/*.mh.
  5639.     * config/*.mh:  Miscellaneous clean-up:  Removed definitions
  5640.     of YACC (since it is not longer used in the Makefile).
  5641.     Remove HOSTING_* definitions that are subsumed by the
  5642.     ones added to Makefile.in.  Removed most definitions of CC.
  5643.     * config/{sparc,news,hp300bsd,decstation}.mh:  Removed;
  5644.     These are no longer needed.
  5645.  
  5646. Fri May 22 13:47:19 1992  Per Bothner  (bothner@cygnus.com)
  5647.  
  5648.     * Makefile.in:  Use srcdir instead of VPATH in ldgram/ldlex
  5649.     rules, since these are used when building a distribution.
  5650.     * Makefile.in (ldlex.c):  Don't re-direct output, since that
  5651.     leaves a bogus output files if it fails.
  5652.  
  5653.     * config/sparc.mh:  Fix HOSTING_LIBS so it has a chance of working.
  5654.     * ldlex.c:  Fix some unnecessary flex-specific-isms.
  5655.  
  5656. Fri May  8 11:49:43 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5657.  
  5658.     * ldgram.y: move spurious semicolon
  5659.     * ldexp.h: fix prototype
  5660.  
  5661. Thu May  7 17:01:12 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
  5662.  
  5663.     * ld.texinfo: references to linker now say "ld" not "gld".
  5664.  
  5665. Wed May  6 13:26:19 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5666.  
  5667.     changed calling convention for Q_enter_global_ref
  5668.     * ldexp.c, ldlang.c, ldmain.c: reflect this
  5669.     * ldver.c: bump version to 1.97.1
  5670.     * ldindr.c (add_indirect): when an edict declaring an indirect
  5671.     symbol is found, make sure that any ideas about the symbol being
  5672.     common are changed if it now known to be defined.
  5673.     * ldmain.c (linear_library): complain once if archive isn't
  5674.     ranlibbed.
  5675.     * ldlang.h, ldlang.c: make room for and initialize the complain
  5676.     once field.
  5677.  
  5678. Wed May  6 11:07:35 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
  5679.  
  5680.     * Makefile.in: use flex & bison from ../ if they exist.
  5681.  
  5682. Tue May  5 17:47:33 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5683.  
  5684.     * relax.c (build_it): don't allocate space in the output file for
  5685.     stuff if -R flag applys to it.
  5686.     * ldfile.c: merge in VMS filename support
  5687.     * ldmain.c (main): take out ./ from library path, and close file
  5688.     before unlinking. Make multiple defs of a symbol create an
  5689.     unexecable file.
  5690.     * ldmisc.c: fatal errosrs delete output file 
  5691.  
  5692. Tue May  5 14:05:05 1992  Per Bothner  (bothner@rtl.cygnus.com)
  5693.  
  5694.     * ldver.c:  Increase version number to 1.97, for consistency
  5695.     with ../binutils.
  5696.  
  5697. Tue May  5 12:12:24 1992  K. Richard Pixley  (rich@cygnus.com)
  5698.  
  5699.     * Makefile.in: FLEX -> LEX.
  5700.  
  5701.     * ld.texinfo: {} -> @{@}.
  5702.  
  5703. Mon May  4 17:52:41 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
  5704.  
  5705.     * ld.texinfo: describe alternate, MRI-compatible linker scripts
  5706.     (and associated change in -c option, now used for these scripts)
  5707.  
  5708. Mon May  4 16:10:10 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5709.  
  5710.     * ldver.c: Bumped version to 1.96 - new release, resync with the
  5711.     bfd too #.
  5712.     * ldexp.c, ldlang.c: now build memory shape tree in obstacks
  5713.     rather than with raw malloc, makes it easier to track where memory
  5714.     is going.
  5715.     * ldsym.h, ldsym.c: create obstack for all global symbols too.
  5716.     * ldwrite.c (ldwrite): moved malloc so only used when needed.
  5717.     * sa29200-sc.sh: added support for .lit, data1 and data2 sections.
  5718.  
  5719.  
  5720. Fri May  1 18:17:52 1992  K. Richard Pixley  (rich@cygnus.com)
  5721.  
  5722.     * config/sparc.mh: use ../gcc/libgcc.a on check if it exists.
  5723.  
  5724.     * Makefile.in: use bootstrap for check.
  5725.  
  5726. Fri May  1 13:03:41 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5727.  
  5728.     * ldgram.y, ldlex.c, mri.c: added more compatible words; BASE, ALIAS and
  5729.     PUBLIC.
  5730.     * Makefile.in: now use flex, not lex
  5731.     * ldlex.l, ldlang.c, ldctor.c: lint
  5732.  
  5733. Wed Apr 22 12:48:42 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5734.  
  5735.     * ldlex.l: added CMDFILENAMECHAR state so that you can lex
  5736.     different sorts of filenames on the command line than in a script.
  5737.  
  5738. Mon Apr 20 22:37:04 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
  5739.  
  5740.     * Makefile.in: rework CFLAGS so that they can be passed on the
  5741.       make command line.  Remove MINUS_G.  Default CFLAGS to -g.
  5742.  
  5743. Fri Apr 17 08:57:17 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5744.  
  5745.     * relax.c: added handling for new "padding" seclet type, used to
  5746.     fill out gaps between section.
  5747.     * ldgram.y, ldlex.l: now -defsym on the command line is done
  5748.     properly.
  5749.  
  5750. Wed Apr 15 21:20:07 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
  5751.  
  5752.     * Makefile.in: the tooldir copy of ld goes directly in tooldir.
  5753.  
  5754. Wed Apr 15 16:09:33 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5755.  
  5756.     * mri.c, ldgram.y, ldlex.l: added support for minimal strange link
  5757.     scripts.
  5758.  
  5759. Thu Apr  9 05:52:02 1992  Ken Raeburn  (Raeburn@Cygnus.COM)
  5760.  
  5761.     * Makefile.in (install): Install second copy in $(tooldir)/bin
  5762.     without $(program_prefix), since that's what gcc expects.
  5763.  
  5764. Sat Apr  4 17:44:06 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5765.  
  5766.     * ldlex.l, ldgram.y, ldlex.h: Rewrote lexer. Now it's much nicer. 
  5767.     * h8300*: fix bit rot and add support for h8300xray target
  5768.     * go32.sh: target emulation for go32.
  5769.  
  5770. Mon Mar 16 14:53:29 1992  Steve Chamberlain  (sac@rtl.cygnus.com)
  5771.  
  5772.     * gld960.em, i960.sc-sh. Fix i960 bit rot
  5773.  
  5774. Fri Mar 13 19:47:22 1992  K. Richard Pixley  (rich@cygnus.com)
  5775.  
  5776.     * Makefile.in: install man page.
  5777.  
  5778. Fri Mar 13 08:23:59 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5779.  
  5780.     * config/mt-<foo> renamed to <foo>.mt
  5781.     * config/mh-<foo> renamed to <foo>.mt
  5782.     * configure.in changed to reflect this
  5783.     * genscripts.sh now make .xbn files rather than .xN files
  5784.  
  5785. Sat Mar  7 03:40:40 1992  K. Richard Pixley  (rich@cygnus.com)
  5786.  
  5787.     * ldver.h: fix decl of ldversion.
  5788.  
  5789. Fri Mar  6 22:00:35 1992  K. Richard Pixley  (rich@cygnus.com)
  5790.  
  5791.     * Makefile.in: added check target.
  5792.  
  5793. Fri Mar  6 06:59:04 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5794.  
  5795.     * ldmain.c (Q_enter_file_symbols): now aliases work again
  5796.  
  5797. Thu Mar  5 21:39:29 1992  K. Richard Pixley  (rich@cygnus.com)
  5798.  
  5799.     * Makefile.in: added clean-info target.
  5800.  
  5801. Thu Mar  5 16:55:56 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  5802.  
  5803.     * ldexp.c (exp_print_tree): don't try and follow null pointers
  5804.     around.
  5805.     * ldgram.y: remove 11 shift reduce errors
  5806.  
  5807. Tue Mar  3 15:46:39 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
  5808.  
  5809.     * Makefile.in: added tooldir and program_prefix.
  5810.  
  5811. Fri Feb 28 08:17:45 1992  Steve Chamberlain  (sac at thepub.cygnus.com)
  5812.  
  5813.     * ldlang.c (size_input_section): don't move absolute sections
  5814.     around!
  5815.  
  5816.  
  5817. Thu Feb 27 09:20:41 1992  Steve Chamberlain  (sac at thepub.cygnus.com)
  5818.     
  5819.     * cplus-dem.c: yet another copy of this - maybe it should go into
  5820.     libiberty ?
  5821.     * ldgram.y: now -V and -v have different actions
  5822.     * ldver.c: if -V, prints list of emulations compiled in
  5823.     * ldmisc.c: support for cplus demangling
  5824.  
  5825.  
  5826. Wed Feb 26 18:04:40 1992  K. Richard Pixley  (rich@cygnus.com)
  5827.  
  5828.     * Makefile.in, configure.in: removed traces of namesubdir,
  5829.       -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
  5830.       copyrights to '92, changed some from Cygnus to FSF.
  5831.  
  5832. Thu Feb 20 17:43:46 1992  Per Bothner  (bothner at cygnus.com)
  5833.  
  5834.     * Makefile.in:  Change mkscript rule into one for ./mkscript
  5835.     (for the sake of makes that don't realize they're the same).
  5836.     * PORTING:  Add more details.
  5837.     * genscripts.sh:  Add more tailorability of DATA_ALIGNMENT.
  5838.  
  5839. Mon Feb 17 12:04:36 1992  Per Bothner  (bothner at cygnus.com)
  5840.  
  5841.     * Makefile.in, and new files hp300bsd.sh, config/mh-hp300bsd,
  5842.     config/mt-hp300bsd:  New port to hp300 running BSD.
  5843.  
  5844. Sat Feb 15 13:59:54 1992  Per Bothner  (bothner at cygnus.com)
  5845.  
  5846.     Major rewrite of how ld is configured.  The major idea
  5847.     is to use shell scripts to generate everything.
  5848.     * generic.em replaces ldtemplate.
  5849.     * Other *.em files replace various *.c files.
  5850.     A *.em file is a shell script that generates the corresponding
  5851.     ld__*.c file that implements an emulation.  This is usually
  5852.     a straight 'cat' of a here-document, possibly with substitutions.
  5853.     * Script files (*.sc) are places by *.sc-sh scripts.
  5854.     Again, these are simple shell scripts that 'cat'
  5855.     here-documents, usually with some substitutions.
  5856.     The output a *.sc-sh is a script file.
  5857.     * Each emulation is defined by a short shell script with
  5858.     extension *.sh that specifies the emulation-specific
  5859.     parameters (such as the name of the *.sh-sc and *.em
  5860.     files to use).
  5861.     * genscript.sh is the master shell script used to generate
  5862.     an emulation.  It is passed various argument, including
  5863.     the name a the emulation-speciic *.sh file that it
  5864.     "sources" to set variables to emulation-specifc parameters.
  5865.     * config/mt-foo:  Changed EMUL=GLDFOO_EMULATION_NAME
  5866.     to EMUL=foo. (The GLDFOO_EMULATION_NAMEs have bee removed.)
  5867.     * config/mh-foo:  Rename LDEMULATION names as appropriate
  5868.     (usually 'gldfoo' -> plain 'foo').
  5869.     * ldwrite.c:  Fixed a typo in a comment.
  5870.     * Makefile.in:  Major changes.  Removed some the sed
  5871.     magic to converts scripts, since that is now handled
  5872.     by genscripts.sh and the *.sc-sh scipt generators.
  5873.     * config.h:  Remove a bunch of macros defining emulations
  5874.     and targets.  This becomes one less file to edit when
  5875.     adding emulations or targets.
  5876.     * ldemul.h (struct ld_emulation_xfer_struct):  Add
  5877.     emulation_name and target_name fields.
  5878.     * ldemul.c, ldemul.h:  Define some default functions used
  5879.     by most emulations (and remove from the *.em scripts).
  5880.     * ldemul.c (ldemul_choose_target):  Search the new
  5881.     ld_emulations array using a loop (instead of a hardwired
  5882.     nested if statement).
  5883.     Define the ld_emulation from the automatically-geenrated
  5884.     ldemul-list.h.  This means you no longer have to edit ldemul.c
  5885.     to add a new emulation.
  5886.     * ldmain.c:  Replace {GLD,LNK}960_EMULATION_NAME by
  5887.     their expansions, since the former no longer exist.
  5888.     * PORTING:  A very rough first draft of a porting guide.
  5889.  
  5890.     * ldgram.y, ldlex.l, lexsup.c: Changes to allow an assignment
  5891.     to be terminated by a new-line (instead of requiring a semicolon).
  5892.  
  5893. Mon Feb 10 16:21:02 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
  5894.  
  5895.     * ldexp.c, ldlang.c: added new idea "abs_output_section", removes
  5896.     tests for NULL pointers all over the place.
  5897.     * ldlang.c (lang_process): remember to relocate global symbols
  5898.     *after* relaxing has done it stuff.
  5899.  
  5900. Thu Feb  6 11:40:15 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
  5901.  
  5902.     * config/mt-coff-h8300: use EMUL like everything else
  5903.     * ldlang.c: (print_padding_statement): print the right address.
  5904.     * Makefile.in, config.h, ldemul.c: renamed  h8300hds to h8300hms
  5905.     
  5906.  
  5907. Tue Feb  4 15:28:01 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
  5908.  
  5909.     * ldlex.l: Put pack -noinhibit-exec and -sort-common
  5910.     * ldlang.c (print_data_statement): print the right address.
  5911.  
  5912. Thu Jan 30 17:51:53 1992  Per Bothner  (bothner at cygnus.com)
  5913.  
  5914.     * Makefile.in:  The rule for testing ld by re-linking itself
  5915.     via an intermediate -r link was moved to the ld1 rule
  5916.     instead of the ld2 rule.  This allows ld2 and ld3 to be identical,
  5917.     which allows the bootstrap rule to work.
  5918.     * ldctor.c (find_constructors):  Don't create a constructor
  5919.     list if it is already defined (as would happen if ld is
  5920.     invoked by collect).
  5921.  
  5922. Wed Jan 29 08:35:39 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
  5923.  
  5924.     * config/mh-sparc.h: now uses libgcc.a
  5925.     * ldmain.c: quit using exit
  5926.     * *sc: use *(COMMON) rather than [COMMON]
  5927.     * ldlex.l, lexsup.c: much thinking moved from .l and put into .c,
  5928.     to allow preprocessing of .l file.
  5929.     * Makefile.in: New ldlex.l mangling
  5930.     * ldexp.c (fold_binary): perform expressions with % and / in
  5931.     integer.
  5932.     * ldfile.c (open_a): open archives on VMS in a special way
  5933.  
  5934.  
  5935. Tue Jan 28 10:18:16 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
  5936.  
  5937.     * ldgram.y: map -M behave in the same way as -Map (sets file name
  5938.     to be "-".
  5939.     * ldsym.c, ldlang.c: remember that size of a section is dependent on
  5940.     whether or not relaxing has been done.
  5941.     * ldmain.c: don't open a map file if it doesn't have a name
  5942.     * relax.c: all the brains have moved into bfd.
  5943.     * ldwrite.c: ammend comment
  5944.  
  5945. Fri Jan 24 14:23:46 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
  5946.  
  5947.     * Makefile.in: added relax, also made three stage go through a
  5948.     partial link stage.
  5949.     * relax.c : added
  5950.     * config.h: if GNU960 defined, then default emulation mode is
  5951.     GLD960
  5952.     * ldexp.h, ldexp.c: map to file hooks
  5953.     * ldlang.c: map to file hooks
  5954.     * ldgram.y: added -Map -relax
  5955.     * ldlex.l: added -relax, -Map
  5956.     * ldmain.c: open map file
  5957.     * ldmisc.c: support for map file
  5958.     * ldwrite.c: new relax magic
  5959.  
  5960. Thu Dec 19 18:49:51 1991  John Gilmore  (gnu at cygnus.com)
  5961.  
  5962.     * Makefile.in, config/tm-*.h:  Clean up make output, only
  5963.     pass DEFAULT_EMULATION to ldmain.c.
  5964.  
  5965. Wed Dec 18 15:02:47 1991  Per Bothner  (bothner at cygnus.com)
  5966.  
  5967.     * ldver.c:  Bump to version 1.94.
  5968.  
  5969. Tue Dec 10 04:07:23 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
  5970.  
  5971.     * Makefile.in: infodir belongs in datadir.
  5972.  
  5973. Mon Dec  9 16:26:43 1991  Per Bothner  (bothner at cygnus.com)
  5974.  
  5975.     * Makefile.in:  Pass -y to bison.  (Again;
  5976.     accidentally deleted by Rich.)
  5977.     * news.sc, ldgld68k.sc:  Define __end as well as _end.
  5978.  
  5979. Sat Dec  7 17:19:26 1991  Steve Chamberlain  (sac at rtl.cygnus.com)
  5980.  
  5981.     * ldindr.h: added to contain prototypes of ldindr.c
  5982.     * ldfile.c: include ctype.h
  5983.     * ldmain.c: include the requried prototype headers
  5984.     * ldwrite.c: get_reloc_upper_bound has been renamed
  5985.     bfd_get_reloc_upper_bound 
  5986.  
  5987. Fri Dec  6 23:29:26 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
  5988.  
  5989.     * Makefile.in: punt "fundamental" mode because it breaks my emacs
  5990.       macros.  install using INSTALL_PROGRAM and INSTALL_DATA.  remove
  5991.       spaces following hyphens, bsd make can't cope.  added
  5992.       standards.text support and made it look like all the other
  5993.       makefiles.
  5994.  
  5995.     * configure.in: configure now runs entirely in objdir so make file
  5996.       existence checks against ${srcdir}.  Mark this directory as
  5997.       target dependent.
  5998.  
  5999. Thu Dec  5 22:46:16 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
  6000.  
  6001.     * Makefile.in: idestdir and ddestdir go away.  Added copyrights
  6002.       and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
  6003.       and mandir now keyed off datadir by default.
  6004.  
  6005. Wed Dec  4 23:36:55 1991  Per Bothner  (bothner at cygnus.com)
  6006.  
  6007.     * ldver.c:  Bumped version to 1.93.
  6008.     * Makefile.in:  Pass -y to bison.
  6009.  
  6010. Mon Nov 25 18:28:40 1991  Steve Chamberlain  (sac at cygnus.com)
  6011.  
  6012.     * config.h: h8 is now coff, not ieee
  6013.     * h8300hds.sc: reflect the same
  6014.  
  6015. Thu Nov 14 19:55:09 1991  Per Bothner  (bothner at cygnus.com)
  6016.  
  6017.     * ldver.c (ldversion()):  Update to 1.92.
  6018.     * ldctor.c: There are two places constructor sets
  6019.     can be defined.  One of them checked for an existing
  6020.     duplicate, the other didn't.  Unfortunately, the latter
  6021.     was called after the former ...
  6022.     So, factor out code for inserting a new element into
  6023.     constructor_name_list (after checking for a duplicate)
  6024.     into a new function add_constructor_name, and call
  6025.     it from both aforementioned places (ldlang_add_constructor
  6026.     and ldlang_check_for_constructors).
  6027.  
  6028. Wed Nov 13 15:17:43 1991  Per Bothner  (bothner at cygnus.com)
  6029.  
  6030.     * Makefile.in:  Rename .c files generated from ldtemplate
  6031.     to have names starting with ld__.  This helps 'make clean'.    
  6032.  
  6033. Tue Nov 12 18:36:50 1991  Steve Chamberlain  (sac at cygnus.com)
  6034.  
  6035.     * Makefile.in: Take out the version number for install
  6036.     * m88kbcs.sc: put in contructor blocks.
  6037.  
  6038. Mon Nov 11 18:47:33 1991  Per Bothner  (bothner at cygnus.com)
  6039.  
  6040.     * ldmisc.c, ldmisc.h:  Re-write info() to take a filename
  6041.     parameter, a format, and an arg pointer, and rename it to
  6042.     vfinfo().  Write info() in terms of new vfinfo().
  6043.     New einfo() is the same as info(), except it writes to stderr.
  6044.     * ldemul.c, ldexp.c, ldlang.c, ldlnk960.c, ldmain.c, ldwrite.c,
  6045.     ldmisc.c:  Replace "error" calls to info() by new einfo().
  6046.  
  6047. Mon Nov 11 09:57:32 1991  Steve Chamberlain  (steve at cygnus.com)
  6048.  
  6049.     * ldlex.l ldgram.y: made -V option do same as -v
  6050.     * Makefile.in: Added $(MINUS_G) flag so debugging can be
  6051.     turned off
  6052.  
  6053. Sun Nov  3 16:37:37 1991  Steve Chamberlain  (steve at cygnus.com)
  6054.      i386 aout changes from Bob Kukura
  6055.     * Makefile.in, config.h: added i386aout support
  6056.     * configure.in: fixed /h-{myhost} typo
  6057.     * ldgram.y: -MM now gives more boring map.
  6058.     * ldlang.c: now does D_PAGED flag the right way.
  6059.     * ldsym.c: -MM flags does the right thing.
  6060.  
  6061. Sun Nov  3 15:00:03 1991  Per Bothner  (bothner at cygnus.com)
  6062.  
  6063.     * configure.in:  Fixed typo.  Also, a fix for hp300bsd.
  6064.     * ldlang.c (init_os):  Compensate for BFD change,
  6065.     where bfd_make_section now returns NULL for a duplicate
  6066.     section request, instead of the old section.
  6067.  
  6068. Thu Oct 17 15:27:13 1991  Per Bothner  (bothner at cygnus.com)
  6069.  
  6070.     * ldver.c: Bump to version 1.91 (consistent with binutils).
  6071.  
  6072. Wed Oct 16 12:27:08 1991  Per Bothner  (bothner at cygnus.com)
  6073.  
  6074.     * Makefile.in, config.h, ld.h, ldemul.c, ldexp.c, ldexp.h,
  6075.     ldgram.y, ldlex.l, ldlnk960.c, ldmain.c, ldmisc.c, ldmisc.h,
  6076.     ldsym.c, ldsym.h, ldtemplate, ldvanilla.c, ldver.c, ldver.h,
  6077.     ldwarn.c, ldwarn.h, ldwrite.c, ldwrite.h, mkscript.c:
  6078.     Add or update copyright notices.    
  6079.  
  6080. Mon Oct 14 23:55:27 1991  Per Bothner  (bothner at cygnus.com)
  6081.  
  6082.     * README: New file.
  6083.     * Makefile.in:  Changed installation directory name scheme
  6084.     to be consistent with gcc.  Also changed 'install'.
  6085.  
  6086. Mon Oct 14 17:30:02 1991  Roland H. Pesch  (pesch at cygnus.com)
  6087.  
  6088.     * Makefile.in: new targets ld.mm, ld.me
  6089.  
  6090. Mon Oct 14 17:27:24 1991  Per Bothner  (bothner at cygnus.com)
  6091.  
  6092.     * Makefile.in, ldtemplate:  Need to use separate scripts
  6093.     for -n and -N options.  Yet more complication.
  6094.  
  6095. Fri Oct 11 22:40:46 1991  John Gilmore  (gnu at cygnus.com)
  6096.  
  6097.     * Makefile.in:  Avoid using $< in explicit Make rules (it doesn't
  6098.     work).  Add some lines to avoid Sun Make VPATH bugs.
  6099.  
  6100. Fri Oct 11 16:42:22 1991  Per Bothner  (bothner at cygnus.com)
  6101.  
  6102.     * news.sc: Add alignment for data segment.
  6103.     * ldtemplate: Add (yet another) script to get for -n or -N
  6104.     options.  (These need different alignment than ZMAGIC files.)
  6105.     * Makefile.in:  Add stuff for new foo.xn scripts.
  6106.     These are generated by replacing "ALIGN(0x...00)" by ".".
  6107.  
  6108. Fri Oct 11 15:43:04 1991  Roland H. Pesch  (pesch at cygnus.com)
  6109.  
  6110.     * Makefile.in: new targets ld.ms, ld-index.ms
  6111.     ld.texinfo: remove tabs, other cleanups for texi2roff
  6112.  
  6113. Fri Oct 11 13:51:54 1991  Per Bothner  (bothner at cygnus.com)
  6114.  
  6115.     * ldmain.c (main): Make config.magic_demand_paged be true
  6116.     by default.  Don't the WP_TEXT and D_PAGED flags of
  6117.     output_bfd here; it's too late, so set it when output_bfd
  6118.     is created (in ldlang.c).  Also fix setting of EXEC_P flag
  6119.     * ldlang.c (ldlang_open_output):  Set output_bfd->flags here.
  6120.     * ldlang.c: Remove some duplicate extern declarations.
  6121.     * ldgram.y: Fixes to -N and -n options.
  6122.     * Makefile.in:  Recognize upper case letters in sed script
  6123.     to remove assignments from script files.
  6124.     * ldtemplate:  Don't assukme that -N or -n options
  6125.     imply use of -r script.
  6126.     * mkscript.c:  Tweaking to correctly handle \n and \\ in input.
  6127.  
  6128. Fri Oct 11 10:29:27 1991  Steve Chamberlain  (steve at cygnus.com)
  6129.  
  6130.     * ldtemplate: include bfd.h before sysdep.h.
  6131.  
  6132. Fri Oct 11 04:24:45 1991  John Gilmore  (gnu at cygnus.com)
  6133.  
  6134.     Restructure configuration scheme for bfd, binutils, ld.
  6135.  
  6136.     * include/sys/h-*.h:  Move to bfd/hosts/h-*.h.
  6137.     * configure.in:  Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
  6138.     Change some config names to match other dirs.
  6139.     * *.c:  Include bfd.h before sysdep.h, so ansidecl and PROTO()
  6140.     get defined first.
  6141.     * config/:  Rename some config files to match up h-*.h names.
  6142.     Remove all the HOST_SYS definitions from the config files.
  6143.  
  6144. Tue Oct  8 16:00:57 1991  Per Bothner  (bothner at cygnus.com)
  6145.  
  6146.     * ldexp.h, ldlang.h: Change enum boolean -> enum bfd_boolean.
  6147.     * ldtemplate: Remove ldfile_add_library_path calls;
  6148.     just use the SEARCH_DIR commands in the script files.
  6149.     * Makefile.in: Add LIB_PATH macro, which if set is used to replace
  6150.     the SEARCH_DIR commands in the scripts (using ugly sed magic).
  6151.     This is primarily intended for cross-linking, where you would
  6152.     place libaries in a different place than native libraries.
  6153.     Also, emulations made from ldtemplate now use $(srcdir).
  6154.     * ldglda29k.sc:  Change SEARCH_DIR commands to a conventional
  6155.     form; people can use the Makefile's LIB_PATH to override.
  6156.  
  6157. Tue Oct  8 14:51:21 1991  Roland H. Pesch  (pesch at cygnus.com)
  6158.  
  6159.     * Makefile.in: fix target ld.dvi, add target ld.info
  6160.     ld.texinfo: make info filename ld.info
  6161.  
  6162. Fri Oct  4 21:51:58 1991  John Gilmore  (gnu at cygnus.com)
  6163.  
  6164.     * Makefile.in:  Avoid using $< in non-suffix rules (breaks on Sun
  6165.     Make). 
  6166.     * ldfile.c, ldlang.c, ldmain.c, ldwrite.c:  Cope with renames of a
  6167.     few BFD types & enums.
  6168.  
  6169.  
  6170. Local Variables:
  6171. mode: indented-text
  6172. left-margin: 8
  6173. fill-column: 74
  6174. version-control: never
  6175. End:
  6176.